# Get Weekday From DateTime

Grammardatetime weekday
FlagsFunction

Returns the day of the week of a DateTime.

# Arguments

  • datetime — DateTime

Returns — string [ preset::Weekday ]

string libNtve_gf_GetWeekdayFromDateTime(
	datetime lp_datetime,
);

Category: DateTime

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L2375
libNtve_gf_GetWeekdayFromDateTime(CurrentDateTimeGet())
// L2474
libNtve_gf_GetWeekdayFromDateTime(lp_datetime)
// L2548
libNtve_gf_GetWeekdayFromDateTime(lp_datetime)
// L2551
libNtve_gf_GetWeekdayFromDateTime(lp_datetime)