|
|
|
|
|
- Overview
- Reminder
- Default mask
- The preset masks
- Additional mask
- The custom masks
The Date input field: Input or display masks
Reminder WINDEV, WINDEV Mobile and WEBDEV propose two types of masks: - the input masks that define the characters that can be typed in the controls found in a window or in a page. Sometimes, these masks can also be used to modify the case (uppercase/lowercase characters) of the values assigned to the window controls or to the page controls programmatically.
- the display masks that define the characters that can be:
 displayed in the window controls. - printed in the report controls.
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 language options of the project.)
- DDDD' (corresponding day of the week with the first letter capitalized, e.g. Monday)
This notation is not available. - ddddd' (corresponding day of the week with the first letter forced into lower case, e.g. Monday)
This notation is not available. - 'DDD' (abbreviation of the day of the week, "Thu" for example)
- DDD' (abbreviation for the day of the week with the first letter capitalized, e.g.: Mon)
This notation is not available. - ddd' (abbreviation for the day of the week with the first letter forced into lower case, e.g.: 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 language options of the project.)
- Mmmm' (month spelled out with the first letter capitalized, e.g. January)
This notation is not available. - mmmm' (month spelled out with the first letter forced into lower case, e.g. January)
This notation is not available. - 'MMM' (abbreviation of the month, "Jan" for example)
- Mmm' (month abbreviation with the first letter capitalized, e.g. Jan)
This notation is not available. - mmm' (month abbreviation with the first letter forced into lower case, e.g. 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: 'On DD DD DD MMMM YYYY at HH:mm' will give a result of the form "On Thu Feb 01 1979 at 21:35".
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|