date_date_of

Returns the date section of a datetime value.

Syntax:

date_date_of(date);


Argument Description
date The datetime to extract the date from.


Returns: Real


Description

Returns the date value of the given datetime.


Example:

today = date_date_of(date_current_datetime());

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


Back: Date And Time
Next: date_date_string
© Copyright YoYo Games Ltd. 2018 All Rights Reserved