Table of Contents

, ,

AS_TIMESTAMP

Description

Converts the given string into a timestamp according to the specified format.

Syntax

AS_TIMESTAMP (text, format)

Cannot be used in the condition of a FIND action.

Parameters

Attribute of the Plain Text type or string constant or calculation producing text and a format string

Returns

Timestamp: the timestamp parsed from the text using the given format

Example

Object.TimeStampAttr = AS_TIMESTAMP ('02-25-2007 10:05', 'MM-dd-yyyy HH:mm') 

AS_DATE, AS_STRING, TIMESTAMP