{{tag>Function Function_List Text}} ====== 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 [[:ref:a_f:a:find|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') ===== Related ===== [[ref:a_f:f:af:as_date|AS_DATE]], [[ref:a_f:f:af:as_string|AS_STRING]], [[ref:a_f:f:af:timestamp|TIMESTAMP]]