{{tag>Function Function_List Date_And_Time}} ====== END_OF_DAY ====== ===== Description ===== Returns the timestamp of the end of the day (23:59:59) of the provided date ===== Syntax ===== ''END_OF_DAY (date)'' ===== Parameters ===== Attribute of the Date type or date constant or calculation producing a date ===== Returns ===== **Timestamp**: the provided date at 23:59:59 ===== Example ===== Event.EndTime = END_OF_DAY (Event.Date) ===== Related ===== [[ref:a_f:f:af:start_of_day|START_OF_DAY]], [[ref:a_f:f:af:date_part|DATE_PART]], [[ref:a_f:f:af:timestamp|TIMESTAMP]], [[ref:a_f:f:af:end_of_week|END_OF_WEEK]]