date_time_of

Returns the time value of the given datetime. The time returned ignores Daylight Saving Time (and so is Universal Time) and would normally be used in conjunction with another date/time handling function.

 

Syntax:

date_time_of(date);

ArgumentTypeDescription
dateDatetimeThe datetime to extract the time from.

 

Returns:

Real

 

Example:

time = date_time_of(date_current_datetime());

This would return the current time only and store the value in the variable "time".