date_date_of(date)

From ENIGMA
Jump to navigation Jump to search

Description

Gets the date part of the indicated date-time value, setting the time part to 0, and returns the result.

Parameters

Parameter Data Type Description
date time_t date-time value to get the date of

Return Values

time_t: Returns the date part of the date-time value.

Example Call

// demonstrates getting a date-time value with the time part set to 0
var date;
date = date_date_of(date_current_datetime());