Date/Time Editor

Top  Previous  Next

A Date/Time Editor is similar to a Validating Text Editor as it displays a text box and validates the input, displaying an error message if the input is not in the expected format. This editor only accepts date, time or date/time values in the ISO standard format: YYYY-MM-DDThh:mm:ss.ddd. It also accepts additional time-zone specifiers at the end of the string of either a Z (for universal time) or + or - followed by hours and mintutes as hh:mm. The T between the date and the time may also be replaced by a single space character. The following are valid date/time entries:

2011-03-04

2011-03-04T12:25

2011-03-04 12:25:33

2011-03-04 12:25:33.005

2011-03-04 12:25:33.005Z

2011-03-04T12:25:33.005+1:00

In addition to validating text entries, the Date/Time editor provides a simple date-picker interface which is brought up by clicking the ... button. You can use this picker to select a date which will then be automatically entered into the field in YYYY-MM-DD format.