SimApi Timer timeOfDayMs

From SIMboxWiki
Jump to navigation Jump to search



Icon attributes.pngstatic unsigned long SimApi::Timer::timeOfDayMs()

    Description

    Get time of day in milliseconds (number of milliseconds since midnight)

    Return

    Type: unsigned long   Description: time of day in milliseconds

    Remarks
    

Each session has a start time of day which can be defined using the SIMBox Scenario Editor. This function returns the current time of day based on the start day of time and the time passed since the session started.


    Related Links

    Recommended: Simulation Time Overview