GetSecondsSinceMidnight

This function returns the number of seconds that have elapsed since midnight of day 1 of the simulation.

Function

Number GetSecondsSinceMidnight();

Parameters

None

Return Value

A number that represents the number of seconds that have elapsed since midnight of day 1 of the simulation.

Example

LogInfo("Number of seconds since midnight of day 1 of the simulation = " + GetSecondsSinceMidnight());