# DateTime is Between

Grammarbeginning < dateTime < end
FlagsFunction

Returns true if a DateTime is between two other DateTimes.

# Arguments

  • datetime — DateTime
  • datetime — Beginning
  • datetime — End

Returns — bool

bool libNtve_gf_DateTimeisBetween(
	datetime lp_dateTime,
	datetime lp_beginning,
	datetime lp_end,
);

Category: DateTime

# Examples

mods/liberty.sc2modbase.sc2data/TriggerLibs/LibertyLib.galaxy:968

        lv_itMessage = (UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "Message", 1));
        lv_itMessageFilter = libNtve_gf_ConvertTargetFilterStringToUnitFilter(UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "MessageFilter", 1));
        if (((CatalogEntryIsValid(c_gameCatalogUpgrade, lv_itDisabler) == true) || (libNtve_gf_DateTimeisBetween(lv_curDateTime, lv_itStart, lv_itEnd) == false))) {
            continue;
        }