These functions provide tools for interpreting date values. Many of these functions process and return the information as a date which can be compared to other date and time values. Many of these functions require values in date or time zone format as parameters. The parameters are generated by nesting the functions ecm:toDate and ecm:timeZone.
Modifications to the extracted values are made for the purposes of the query only. The actual data stored in the target source is not changed in any way.
Formats a date according to the specified pattern.
Interprets a given date in the specified source time zone. It then sets the specified target time zone on the date but retains the date and time fields as they were on the original date.
Returns a timestamp in the desired string format.
Returns the current date in the format 'yyyyMMdd' with the specified time zone.
Returns the current time in the format 'HHmmss" with the specified time zone.
Returns the current date and time in the format 'yyyyMMddHHmmss' with specified time zone.
Adds (or subtracts) an interval of time to a specified date.
Returns the day component of the referenced date.
Returns the month component of the referenced date.
Returns the year component of the referenced date.
Converts the specified time zone ID to a (Java utility class) time zone.
Returns a new date where the specified time or date component is reset to a default value (truncated).