|
- Overview
- Reminder
- Default mask
- The preset masks
- Additional mask
- The custom masks
The Date edit control: Input or display masks
Versions 17 and later New in version 17 Versions 18 and later New in version 18 The following elements can be used to define a custom mask (case sensitive): - 'DDDD' (corresponding day of the week, "Thursday" for example. The case used depends on the linguistic options of project.)
Versions 16 and later'Dddd' (corresponding day of the week with the first letter in uppercase, for example: Monday) This notation is not available. New in version 16'Dddd' (corresponding day of the week with the first letter in uppercase, for example: Monday) This notation is not available. 'Dddd' (corresponding day of the week with the first letter in uppercase, for example: Monday)
This notation is not available. Versions 16 and later'dddd' (corresponding day of the week with the first letter in lowercase, for example: monday) This notation is not available. New in version 16'dddd' (corresponding day of the week with the first letter in lowercase, for example: monday) This notation is not available. 'dddd' (corresponding day of the week with the first letter in lowercase, for example: monday)
This notation is not available. - 'DDD' (abbreviation of the day of the week, "Thu" for example)
Versions 16 and later'Ddd' (abbreviation of the day of the week with the first letter in uppercase, for example: Mon) This notation is not available. New in version 16'Ddd' (abbreviation of the day of the week with the first letter in uppercase, for example: Mon) This notation is not available. 'Ddd' (abbreviation of the day of the week with the first letter in uppercase, for example: Mon)
This notation is not available. Versions 16 and later'ddd' (abbreviation of the day of the week with the first letter in lowercase, for example: mon) This notation is not available. New in version 16'ddd' (abbreviation of the day of the week with the first letter in lowercase, for example: mon) This notation is not available. 'ddd' (abbreviation of the day of the week with the first letter in lowercase, for example: mon)
This notation is not available. - 'DD' (date in digits, "25" for example)
- 'MMMM' (month spelled out, "January" for example. The case used depends on the linguistic options of project.)
Versions 16 and later'Mmmm' (month spelled out with the first letter in uppercase, for example: January) This notation is not available. New in version 16'Mmmm' (month spelled out with the first letter in uppercase, for example: January) This notation is not available. 'Mmmm' (month spelled out with the first letter in uppercase, for example: January)
This notation is not available. Versions 16 and later'mmmm' (month spelled out with the first letter in lowercase, for example: january) This notation is not available. New in version 16'mmmm' (month spelled out with the first letter in lowercase, for example: january) This notation is not available. 'mmmm' (month spelled out with the first letter in lowercase, for example: january)
This notation is not available. - 'MMM' (abbreviation of the month, "Jan" for example)
Versions 16 and later'Mmm' (abbreviation of the month with the first letter in uppercase, for example: Jan) This notation is not available. New in version 16'Mmm' (abbreviation of the month with the first letter in uppercase, for example: Jan) This notation is not available. 'Mmm' (abbreviation of the month with the first letter in uppercase, for example: Jan)
This notation is not available. Versions 16 and later'mmm' (abbreviation of the month with the first letter in lowercase, for example: jan) This notation is not available. New in version 16'mmm' (abbreviation of the month with the first letter in lowercase, for example: jan) This notation is not available. 'mmm' (abbreviation of the month with the first letter in lowercase, for example: jan)
This notation is not available. - 'MM' (month in digits, "06" for example)
- 'YYYY' (year on four digits, "2001" for example)
- 'YY' (last two digits of the year, "01" for example)
- 'HH' (hour in digits, "13" for example)
- 'mm' (minutes in digits, "32" for example)
- 'SS' (seconds in digits, "46" for example)
These masks can be combined. For example: 'DDD DD MMMM YYYY at HH:mm' will return a result in the following format: "Fri 02 February 1979 at 21:35".
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |