Skip to content

List of Date/Time Blocks

The following table lists the available Date and Time Blocks.

Block Function Description
Date Format Block "format" Returns a String of formatting characters that specifies a date format.
DateTime Format Block "format" Returns a String of formatting characters that specifies a datetime format.
Time Format Block "format" Returns a String of formatting characters that specifies a time format.
String to Date Time Block ToDatetime(value, "format") Converts a String representation of a datetime, date or time into a datetime value.
Date Time to String Block FromDatetime(datetime, "format") Converts a datetime, date or time into a string value.
Convert Formats Block DateConvert(fromFormat, toFormat, value) Converts a datetime, date or time string value to a different format.
Now Block Now() Returns the current system date and time as per your local time zone settings.
Time Block Time() Returns the current system time as per your local time zone settings.
Date Block Date() Returns the current system date as per your local time zone settings.