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

timeFormat

  • global property
 The timeFormat

is a property list containing all of the date and time format strings used by the various date and time functions and by the convert command. The keys in the property list correspond to the specific formats defined in SenseTalk, and the values in the property list are the corresponding format strings. So for example, the key “AbbreviatedBasicDate” corresponds to “the abbreviated basic date” in a SenseTalk expression. It has a value of "[monthName] [day] [yr]" which is the format string used by SenseTalk for that date format.

You can change the format strings used for any of these formats by changing the value of the corresponding property.

  • Examples: +

     put the long basic date —> July 9, 2021
    put " [era]" after the timeFormat's LongBasicDate
    put the long basic date —> July 9, 2021 AD
  • Related: timeInputFormat