Expand description
Utility functions for date and date-time conversion.
Functions§
- Convert a date-time the number of seconds since the epoch, including fractional seconds, at a bit less than microsecond precision.
- Convert a date-time to the number of microseconds since the epoch.
- Convert a date to the number of days since the epoch.
- Convert a date to the number of days since the epoch.
- Convert a number of milliseconds since the epoch back to a date.
- Convert a number of nanoseconds since the epoch back to a date.
- Convert a number of days since the epoch back to a date.
- Convert a number of microseconds since the epoch back to a date.
- Returns the current date and time in UTC.