API Time
From Flowcode Help
Jump to navigationJump to search
<sidebar>API Contents</sidebar>
Helps read and manage clock counters
Functions provided for this class
GetMillisecs | Returns the value of a monotonic non-decrementing millisecond counter |
GetUTC | Returns the current UTC Modified Julian Date value |
GetLocal | Returns the current local time as a Modified Julian Date value |
AddMJD | Increments or decrements a Modified Julian Date and millisecond value |
MJDToDate | Converts a Modified Julian Date into a Gregorian calendar date |
DateToMJD | Converts a Gregorian calendar date into a Modified Julian Date |
MJDToSeconds | Converts a Modified Julian Date into a number of seconds since a specified epoch |
SecondsToMJD | Returns the Modified Julian Date given by the number of seconds since a specified epoch |
MJDToWeekday | Gets the day of the week that the MJD represents |
GetLeapYear | Returns true if the given year is a leap year, else false |
GetMonthDays | Returns the number of days in the given month |
Examples
No additional examples
See also
No additional information