# Current Day/Night State

Grammar — Current game time of day
FlagsNative | Function

Returns the current game time of day.

Returns — int<preset::DayNightEventType>

native int GameTimeOfDayCurrentTimeEvent();

Category: Environment / Lighting

# Examples

mods/warcoop/warclassicsystem.sc2modbase.sc2data/TriggerLibs/WarClassicSystem.galaxy:402

    // Automatic Variable Declarations
    // Implementation
    return (GameTimeOfDayCurrentTimeEvent() == c_gameTimeEventDawn);
}