{{}}, as seen in the following example.
In the following example we are using the decode_base_64(s) string manipulation function to decode a Base64-encoded string (a static variable) and return the original decoded string.
Supported Functions
String Manipulation Functions
Table Manipulation Functions
Array & List Functions
Numeric Functions
Boolean & Comparison Functions
JSON & Object Functions
Utility & Generator Functions
URL & Map Functions
Date-Time Functions
Please note that the following date & time formats are accepted.
- Epoch time in seconds:
1725916800 - Epoch time in milliseconds:
1725916800000 - RFC3339:
2006-01-02T15:04:05Z07:00 - ISO:
2006-01-02T15:04:05Z0700 - RFC3339 Nano:
2006-01-02T15:04:05.999999999Z07:00
Date Arithmetic
To add and subtract time interval from another time use + and -Note: Day, Month and Year are not supported because they have variable lengths.
To Date
Useto_date to transform date string representation or date represented as Epoch time (seconds since 1970-01-01) into date. This enables performing date operations on the date such as +/-.
To Epoch
Transforms the date string into Epoch time (seconds since 1970-01-01). Also works with input which is already an Epoch, in which case it returns the input as is.To Epoch Mili
Transforms the date string into Epoch Milliseconds time (milliseconds since 1970-01-01). Also works with input which is already an Epoch Milliseconds, in which case it returns the input as is.To Local Time
Format the date as local time in a given time zone. Accepts dates as Epoch time or string in RFC3339 format.Date Format
Format the date in a requested format. Inputs:- Layout in Golang date format convention (use exact pattern values).
- Input date in RFC3339 format or as an Epoch time (seconds since 1970-01-01).
For more information and additional valid layouts, refer to Golang date format convention documentation.
Examples: