{{tag>Function Function_List Date_And_Time}} ====== TIMESTAMP ====== ===== Description ===== Returns the timestamp constant built from the given numbers ===== Syntax ===== ''TIMESTAMP (day, month, year, hours, minutes)'' or ''TIMESTAMP (date, timestamp)'' Can be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== An integer constant indicating day (1-31), an integer constant indicating month (1-12), an integer constant indicating year, an integer constant indicating hours (0-23), an integer constant indicating minutes (0-59). Alternatively a timestamp can be created from 2 parameters – one date and one timestamp. Only time values from the second parameter are used to create a timestamp. ===== Returns ===== **Timestamp**: a timestamp built from the numbers, or from the date plus the time of day of the timestamp ===== Example ===== IF TIMESTAMP (DAY_OF_MONTH (Account.OpeningDate), 4, 2004, 11, 0) = 07/04/2004 11:00 THEN ... ===== Related ===== [[ref:a_f:f:af:date|DATE]], [[ref:a_f:f:af:as_timestamp|AS_TIMESTAMP]], [[ref:a_f:f:af:time_add|TIME_ADD]], [[ref:a_f:f:af:to_timezone|TO_TIMEZONE]]