|
DateTimeFormat
|
Gets or sets the date time format.
- aaaFormats the day of the week or month in an abbreviated form according to the language specified by the lang element on the run containing the field instructions.
- AFormats the day of the month as a number without a leading zero for single-digit days in Japanese numerals.
- bbFormats the year as a 2-digit number according to the language specified by the lang element on the run containing the field instructions.
- bbbbFormats the year as a 4-digit number according to the language specified by the lang element on the run containing the field instructions.
- BBFormats the year as a 2-digit number. Defaults to the Gregorian [ISO 8601] calendar, but also responds to the \s and \h switches.
- BBBBFormats the year as a 4-digit number. Defaults to the Gregorian [ISO 8601] calendar, but also responds to the \s and \h switches.
- dFormats the day of the week or day of the month as a number without a leading zero for single-digit days. Defaults to the Gregorian calendar [ISO 8601], but also changes in the presence of the \s and \h switches, and the bb or bbbb picture item (to the Thai Buddhist Era calendar).
- ddFormats the day of the week or day of the month as a number with a leading zero0 for single-digit days. Defaults to the Gregorian calendar [ISO 8601], but also changes in the presence of the \s and \h switches, and the bb or bbbb picture item (to the Thai Buddhist Era calendar).
- dddFormats the day of the week or month in its abbreviated form according to the language specified by the lang element on the run containing the field instructions. Defaults to the Gregorian calendar [ISO 8601], but also changes in the presence of the \s and \h switches, and the bb, bbbb, ปปปป, ปป, ดดดด, ดดด, ดด, ด, วววว, ววว, วว, and ว picture item(to the Thai Buddhist Era calendar).
- ddddFormats the day of the week as its full name according to the language specified by the lang element on the run containing the field instructions. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb, bbbb, ปปปป, ปป, ดดดด, ดดด, ดด, ด,วววว, ววว, วว, and ว picture item (to the Thai Buddhist Era calendar).
- DFormats the day of the week or day of the month as a number without a leading zero for single-digit days. Defaults to the Gregorian calendar [ISO 8601], but also changes in the presence of the \s and \h switches, and the bb or bbbb picture item (to the Thai Buddhist Era calendar).
- DDFormats the day of the month as a two-digit number (with a leading zero for single-digit days).Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb or bbbb picture item(to the Thai Buddhist Era calendar).
- DDDFormats the day of the week in an abbreviated form according to the language specified by the lang element on the run containing the field instructions. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb or bbbb, ปปปป, ปป, ดดดด, ดดด, ดด, ด, วววว, ววว, วว, and ว picture item(to the Thai Buddhist Era calendar).
- DDDDFormats the day of the week as its full name according to the language specified by the lang element on the run containing the field instructions. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb, bbbb, ปปปป, ปป, ดดดด, ดดด, ดด, ด, วววว, ววว, วว, and ว picture item(to the Thai Buddhist Era calendar).
- eFormats the Japanese Emperor Era with no leading zero for single-digit years.
- eeFormats the Japanese Emperor Era with a leading zero for single-digit years.
- EFormats the era according to the language specified by the lang element on the run containing the field instructions.
- EEFormats the Gregorian year [ISO 8601] as a four-digit number, according to the language specified by the lang element on the run containing the field instructions.
- gFormats the era in shortest form as Romanized single letter according to the language specified by the lang element on the run containing the field instructions.
- ggFormats the era in medium form according to the language specified by the lang element on the run containing the field instructions.
- gggFormats the era in full form according to the language specified by the lang element on the run containing the field instructions.
- G Formats the era as its first character according to the language specified by the lang element on the run containing the field instructions.
- GGFormats the era in full form according to the language specified by the lang element on the run containing the field instructions.
- MFormats the month as a number without a leading zero for single-digit months. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb or bbbb picture item(to the Thai Buddhist Era calendar).
- MMFormats the month as a number with a leading zero for single-digit months. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb or bbbb picture item(to the Thai Buddhist Era calendar).
- MMMFormats the month in its abbreviated form according to the language specified by the lang element on the run containing the field instructions. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb, bbbb, ปปปป, ปป, ดดดด, ดดด, ดด, ด, วววว, ววว, วว, and ว picture item (to the Thai Buddhist Era calendar).
- MMMMFormats the month as its full name according to the language specified by the lang element on the run containing the field instructions. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb, bbbb, ปปปป, ปป, ดดดด, ดดด, ดด, ด, วววว, ววว, วว, and ว picture item (to the Thai Buddhist Era calendar).
- nFormats the Japanese Emperor Era with no leading zero for single-digit years.
- nnFormats the Japanese Emperor Era with leading zero for single-digit years.
- OFormats the month as a number without a leading zero for single-digit months in Japanese numerals.
- wFormats the day of the week in an abbreviated form according to the language specified by the lang element on the run containing the field instructions.
- WFormats the day of the week in an abbreviated form according to the language specified by the lang element on the run containing the field instructions.
- yFormats the year as a 2-digit number. Does not work in romance languages. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches.
- yy Formats the year as a 2-digit number. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches.
- yyyyFormats the year as a 4-digit number. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches.
- YFormats the year as a 2-digit number. Does not work in romance languages. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb, bbbb, ปปปป, and ปป picture item (to the Thai Buddhist Era calendar).
- YYFormats the year as a 2-digit number. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb, bbbb, ปปปป, and ปป picture item(to the Thai Buddhist Era calendar).
- YYYYFormats the year as a 4-digit number. Defaults to the Gregorian calendar[ISO 8601], but also changes in the presence of the \s and \h switches, and the bb, bbbb, ปปปป, and ปป picture item (to the Thai Buddhist Era calendar).
- วFormats the day of the month as a number without a leading zero for single-digit days in Thai numerals.
- ววFormats the day of the month as a two-digit number (with a leading zero for single-digit days) in Thai numerals.
- วววFormats the Thai Buddhist Era day of the week in its abbreviated form in Thai.
- ววววFormats the Thai Buddhist Era day of the week as its full name in Thai.
- ดFormats the Thai Buddhist Era month as a number without a leading zero for single-digit months in Thai numerals.
- ดดFormats the Thai Buddhist Era month as a two-digit number (with a leading zero for single-digit months) in Thai numerals.
- ดดดFormats the Thai Buddhist Era month in its abbreviated form.
- ดดดดFormats the Thai Buddhist Era month as its full name.
- ปปFormats the Gregorian year as a 2-digit number using Thai numerals.
- ปปปปFormats the Gregorian year [ISO 8601] as a 4-digit number using Thai numerals.
- h or HFormats the hour of the day as a number without a leading zero for single-digit hours.
- hh or HHFormats the hour of the day as a two-digit number (with a leading zero for single-digit hours).
- mFormats the minute of the hour as a number without a leading zero for single-digit minutes.
- mmFormats the minute of the hour as a two-digit number (with a leading zero for single-digit minutes).
- s or SFormats the second of the minute as a number without a leading zero for single-digit seconds.
- ss or SSFormats the second of the minute as a two-digit number (with a leading zero for single-digit seconds).
- rFormats the hour of the day as 12-hour format in Japanese numerals.
- RFormats the hour of the day as 24-hour format in Japanese numerals.
- am/pm or AM/PMFormats time of the day designator.
- Other characterIncludes the specified character in the result at that position. [Note: Commonly used characters are colon(:), hyphen(-), asterisk(*), slash(/), and space].
- 'text'Includes text in the result.
|