util.Datetime class provides a set of methods that can be used with variables of the DATETIME data type.
These methods are applied to the currently run application and do not need to be instantiated.
Available methods
formats a DATETIME value according to the specified format |
|
converts a number of seconds since Unix epoch to a DATETIME value |
|
returns current date and time as a DATETIME value in the local time zone |
|
returns current date and time as UTC |
|
converts a string into a DATETIME value according to the specified format |
|
converts a DATETIME value in UTC to the DATETIME value in the local time zone |
|
converts a DATETIME value to a FLOAT value showing number of seconds since Unix epoch |
|
converts a local time zome DATETIME value to UTC |