# DateTime is After

GrammardateTimeA|DateTime is after dateTimeB|DateTime
FlagsNative | Function

Returns true if the first DateTime is after the second DateTime.

# Arguments

  • datetime — DateTime A
  • datetime — DateTime B

Returns — bool

native bool DateTimeIsAfter(datetime dt1, datetime dt2);

Category: DateTime

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2381

    // Automatic Variable Declarations
    // Implementation
    if ((DateTimeIsAfter(lp_dateTime, lp_beginning) == true) && (DateTimeIsBefore(lp_dateTime, lp_end) == true)) {
        return true;
    }