{{tag>Function Function_List Date_And_Time}} ====== DATE_PART ====== ===== Description ===== Returns the date part of the given timestamp ===== Syntax ===== ''DATE_PART (timestamp)'' Can be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== Timestamp ===== Returns ===== **Date**: the date part of the given timestamp ===== Example ===== IF DATE_PART (Account.OpeningDateTime) = 07/04/2004 THEN ... ===== Related ===== [[ref:a_f:f:af:current_timestamp|CURRENT_TIMESTAMP]], [[ref:a_f:f:af:timestamp|TIMESTAMP]], [[ref:a_f:f:af:as_date|AS_DATE]]