# Current DateTime

FlagsNative | Function

Returns the best guess of the current time for players in the real world as a server-timezone adjusted DateTime.

Returns — datetime

native datetime CurrentDateTimeGet();

Category: DateTime

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L2375
CurrentDateTimeGet()

# mods/liberty.sc2mod

LibertyLib.galaxy

// L956
CurrentDateTimeGet()