Returns the time section of a datetime value.


GML Code Example


Argument Description
date The datetime to extract the time from.

Returns: Real


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.


GML Code Example

time = date_time_of(date_current_datetime());

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

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here