# 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.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2375

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_GetWeekdayFromDateTime(CurrentDateTimeGet());
}

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

    }

    lv_curDateTime = CurrentDateTimeGet();
    auto0F553801_userType = libLbty_gv_starCraftEventsEventTable;
    auto0F553801_i = 1;