the
dateItems
dateItems
()
put the first item of the dateItems into currentYear
The dateItems
function returns a date
representing the current date as a comma-delimited list of integers representing the year, month (from 1 for January to 12 for December), day, hour (from 0 to 23), minute, second, and day of week (from 1 for Sunday to 7 for Saturday). The format of the dateItems
is fixed.