Datetime functions

Functions for working with dates

These functions allow you to easily convert between time zones, calculate future dates, or format dates according to regional standards. Occasionally, you'll need IANA language tags to select your region, e.g., en-US. For reference, you can use the full list of languages and regions. For a full region identifier, combine a language tag with a country tag like in the en-US example.

add_timeAdd a time increment to a given datetime.
current_timeReturn current time offset by a given number of hours.
format_datetime_to_timezoneSet a timezone for a datetime object and format it.
to_datetimeConvert a string object to datetime.