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