PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

GetMinutesAfterMidnight

Returns the number of minutes that have passed after midnight for the purposes of lighting.

This number will be nearly identical to Lighting/ClockTime multiplied by 60.

This number will not always be equal to the value given in Lighting/SetMinutesAfterMidnight as it returns minutes after midnight in the current day.

For Lightings time formatted as a string, see Lighting/TimeOfDay.

Returns

Return Type Summary

The number of minutes after midnight.


Code Samples


Lighting:GetMinutesAfterMidnight