timestamp

Returns a timestamp from a string expression.

Example

timestamp(INCORTA.SALES.AMOUNT_SOLD)

Syntax

timestamp(string expr t)

Parameters

  • time : string expression representing time

Returns

timestamp

Description

Converts a string timestamp representation into a date type. The string expression must be in the format “yyyy-MM-dd HH:mm:ss. SSS”. The date is returned in a format according to the logged-in user locale preferences. To change the returned date format, use the formatDate(date expression, string mask) function.