|Top Previous Next|
Breaks a date/time value into components such as year, month, hour, etc.
An array with 7 elements. Each element is a component of the date/time value, as shown below:
The year and day elements (index 0 and 2, respectively) will be zero if the date/time value is only a time.
This function can be used to provide custom formatting of date/time. Note that if a numeric month is to be displayed, add one to the month element value. The monthName and dayName functions can be used to display month and weekday (respectively) by name.