メインコンテンツまでスキップ
バージョン:25.2

dateItems

  • function, date format for convert command, property key in the timeFormat

  • There are four dateItems functions corresponding to the dateItems formats available in the convert command: dateItems, long dateItems, abbreviated dateItems, andshort dateItems. These formats present a date and time as a comma-separated text list. The short dateitems returns 6 items: the year, month, day, hour, minute, and second. The dateitems (without an adjective) returns 7 items, with the seventh being the day of the week (0-6, where Sunday is 0). The abbreviated dateitems adds the timezone offset in HHMM format, and the long dateitems returns that same information, but with the timezone name rather than offset.

  • Related: convert, formattedTime

  • property key for the timeFormat global property, that controls the format used for the dateitems function

 put the timeFormat.dateItems
[year],[mo],[da],[hr24],[mi],[se],[dayOfWeek]
put the dateItems
2021,05,14,06,43,49,6