This function will create a datetime value from the component given as the arguments.
date_create_datetime(year, month, day, hour, minute, second);
| Argument | Type | Description |
|---|---|---|
| year | Real | The year to set. |
| month | Real | The month to set. |
| day | Real | The day to set. |
| hour | Real | The hour to set. |
| minute | Real | The minute to set. |
| second | Real | The second to set. |
mydatetime = date_create_datetime(2011, 9, 15, 9, 43, 30);
This would set "mydatetime" to the given date and time and store the returned value in the variable "mydatetime".