DateTime
Date and time operations
DateTime
Date and time operations
Functions
convertTimeZone: Converts an ISO datetime string to a target timezone, handling daylight savings, and returns an ISO string with the correct offset.dateTimeAdd: Adds a time range to a date and time in the ISO 8601 format.dateTimeFormat: Converts a date and time to a provided format.dateTimeToMillis: Parses the date and time in the ISO 8601 format and returns the number of milliseconds since the Unix epoch.millis: Returns the current date and time in milliseconds since the Unix epoch.millisToDateTime: Parses the number of milliseconds since the Unix epoch or parses a string (with or without specified format) and returns the date and time in the ISO 8601 format.now: Returns the current date and time in the ISO 8601 format.
Transforms
convertTimeZone: Converts an ISO datetime string to a target timezone, handling daylight savings, and returns an ISO string with the correct offset.dateTimeAdd: Adds a time range to a date and time in the ISO 8601 format.dateTimeFormat: Converts a date and time to a provided format.dateTimeToMillis: Parses the date and time in the ISO 8601 format and returns the number of milliseconds since the Unix epoch.millisToDateTime: Parses the number of milliseconds since the Unix epoch or parses a string (with or without specified format) and returns the date and time in the ISO 8601 format.