Skip to Content

Literals

DATE()  
Description

Declares a date in ISO format.

Date and time values are organized from the most to the least significant: year, month (or week), day, hour, minute, second, and fraction of second.

Format

Date: YYYY-MM-DD or YYYYMMDD

Time: hh:mm:ss or hhmmss

Syntax DATE(argument1)
Arguments argument1: string
Returns date/time
DURATION()  
Description Declares a duration in ISO format.
Format

P[n]Y[n]M[n]DT[n]H[n]M[n]S

The capital letters P, Y, M, W, D, T, H, M, S are designators for each of the date and time elements.

Syntax DURATION(argument1)
Arguments argument1: string
Returns duration
NUMBER()  
Description Declares a number.
Syntax NUMBER(argument1)
Arguments argument1: string
Returns number
STRING()  
Description  
Syntax

'string'

""string"" — defines a string

\""string\"" — double quotation marks

\'string\' — single quotation marks

\n — newline

\t — tab

Arguments string
Returns string
ID()  
Description Declares an object. Takes a string, and returns an object identifier.
Syntax ID(argument1)
Arguments argument1: string
Returns an object identifier
LIST()  
Description Defines a list. Takes an enumeration of values of the same type, separated by comma, and returns a list.
Syntax LIST(argument0, argument1, ..., argumentN)
Arguments argument0, argument1, ..., argumentN: an enumeration of values of the same type
Returns list