Diese Funktionen stellen Tools zur Verfügung, die Datumswerte interpretieren. Viele dieser Funktionen verarbeiten Informationen als Datumswerte, die mit anderen Datums-/Uhrzeitwerten verglichen werden können. Viele dieser Funktionen erfordern Datumswerte oder Zeitzonenformate als Parameter. Die Parameter werden durch verschachteln der Funktionen ecm:toDate und ecm:timeZone erstellt.

Änderungen an den extrahierten Werten werden nur für Abfragezwecke vorgenommen. Die derzeit in der Quelle gespeicherten Daten werden in keinster Weise verändert.

Funktion

Beschreibung

⇘ ​ecx:formatDate​

Formats a date according to the specified pattern.

⇘ ​ecx:fmtDateInTimeZone​

Die Funktion interpretiert ein Datum in der festgelegten Zeitzone der Quelle. 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.

⇘ ​ecx:formatTimestamp​

Returns a timestamp in the desired string format.

⇘ ​ecx:getDate​

Returns the current date in the format 'yyyyMMdd' with the specified time zone.

⇘ ​ecx:getTime​

Returns the current time in the format 'HHmmss" with the specified time zone.

⇘ ​ecx:getDateTime​

Returns the current date and time in the format 'yyyyMMddHHmmss' with specified time zone.

⇘ ​ecm:addInterval​

Adds (or subtracts) an interval of time to specified date.

⇘ ​ecm:day​

Returns the day component of the referenced date.

⇘ ​ecm:month​

Returns the month component of the referenced date.

⇘ ​ecm:year​

Returns the year component of the referenced date.

⇘ ​ecm:timeZone​

Converts the specified time zone ID to a (Java utility class) timezone.

⇘ ​ecm:trunc​

Returns a new date where the specified time or date component is reset to a default value (truncated).