code/procs/datetime.dm
/proc/fromIso8601 | Convert ISO 8601 to BYOND time format (or epoch time if given argument for that) |
---|---|
/proc/isLeapYear | returns true if the year is divisible by 4, except for years that are divisible by 100. However, years that are divisible by 400 are also leap years. |
/proc/toIso8601 | Convert BYOND time format to ISO 8601 |
/proc/addTime | Add time to a given BYOND time format |
/proc/subtractTime | Subtract time from a given BYOND time format |
/proc/validateIso8601 | Validate ISO 8601 format |