date_time_of(date)

From ENIGMA
Jump to navigation Jump to search

Description

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

Parameters

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

Return Values

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

Example Call

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