date_date_of(date);
| Argument | Description | 
|---|---|
| date | The datetime to extract the date from. | 
Returns: Real
Returns the date value of the given datetime.
today = date_date_of(date_current_datetime());
This would return the current date only and store the value in the variable "today".