Date and Time Input

Checklist

Full List of Guidance Points

The following table lists all of the guidance points in order. Click on a guidance ID to find it in the guide.

ID Guideline Compliance
D+Tc-0001 Adopt the NHS Common User Interface standard for Date Display for the format of any dates displayed within the date input control Mandatory
D+Tc-0002 Allow for both free text input of dates and the input of dates using a calendar control Mandatory
D+Tc-0003 Allow the date elements to be individually edited (day, month and year) Mandatory
D+Tc-0004 Include the calendar icon within the boundary of the date input field Mandatory
D+Tc-0005 Provide disambiguation of any free text date input Mandatory
D+Tc-0006 Provide instructions on how to use the control, for example, via the use of tooltips. The instructions must contain details of the different date types that can be entered Mandatory
D+Tc-0007 Allow users to enter arithmetic shortcuts, such as '+3m' for three months later or '-2d' for two days earlier. The relevant operators are: '+' for later dates (this is optional, as whole numbers should be treated as positive by default), '-' for earlier dates, 'd' for days 'w' for weeks, 'm' for months, 'y' for years Mandatory
D+Tc-0008 Allow the input of 'Unknown' (or similar) to specify dates not known to the user Mandatory
D+Tc-0009 Display a default input within the free text date input control Mandatory
D+Tc-0010 Provide access to the calendar control via a calendar icon Mandatory
D+Tc-0011 Provide the ability to select a month independently, and a year independently. Signify the interactivity of these elements by suitable styling, for example as buttons or links, and ensure that they have descriptive tooltips Mandatory
D+Tc-0012 Provide a button to allow the user to enter today's date Mandatory
D+Tc-0013 Provide a link or button to close the control Mandatory
D+Tc-0014 Provide a visual indication of the current date Mandatory
D+Tc-0015 Include the days of the week within the calendar view Mandatory
D+Tc-0016 Provide access to relevant instructional text (for example, via tooltips) on the clickable elements in the calendar header Mandatory
D+Tc-0017 Allow the calendar to be closed either when the user clicks away from the calendar or clicks on the calendar icon Mandatory
D+Tc-0018 Display the appropriate value in the free text field following selection of the date Mandatory
D+Tc-0019 Ensure that the control can be operated effectively via the keyboard (for example, using arrow keys) Mandatory
D+Tc-0020 Adopt the guidance provided in Design Guidance - Time Display for the format of any dates displayed within the time input control Mandatory
D+Tc-0021 Use the 24-hour clock only (rather than the 12-hour clock) Mandatory
D+Tc-0022 Use an 'Approx' check box to allow the user to indicate an approximate time Mandatory
D+Tc-0023 Allow the time elements to be individually edited (hours, minutes and seconds) Mandatory
D+Tc-0024 Provide access to instructions on how to use the control, for example, via the use of tooltips. The instructions must contain details of different time types that can be entered Mandatory
D+Tc-0025 Allow users to enter arithmetic shortcuts such as '+3h' for three hours later and '-2m' for two minutes earlier. The relevant operators are: '+' for later times (this is optional, as whole numbers should be treated as positive by default), '-' for earlier times, 'h' for hours, 'm' for minutes, 's' for seconds Mandatory
D+Tc-0026 Allow the entry of 'Unknown' (or similar) to specify times not known to the user Mandatory
D+Tc-0027 Display a default input within the time input control Mandatory
D+Tc-0028 Increase/decrease the whole time by the least significant time unit if the entire value is selected or if no unit is selected Mandatory
D+Tc-0029 Provide the ability to spin individual time units when selected Mandatory
D+Tc-0030 Adopt the guidance provided in Design Guidance - Time Display for the format of any times displayed within the duration input control Mandatory
D+Tc-0031 Provide access to instructions on how to use the control, for example, via the use of tooltips. The instructions must contain details of the different units that can be entered Mandatory
D+Tc-0032 Allow entry of time duration units either singly or in combination Mandatory
D+Tc-0033 Allow editing of the individual elements of a duration Mandatory
D+Tc-0034 Ensure that the following minimal set of duration unit abbreviations is supported: 'y' for years, 'm' for months, 'w' for weeks, 'd' for days, 'hr' for hours, 'min' for minutes and 'sec' for seconds Mandatory
D+Tc-0038 Provide the facility for a user to disambiguate a date entered via the date control Mandatory
D+Tc-0039 Display a message dialog box with appropriate instructional text if the data is ambiguous or incomplete Mandatory
D+Tc-0041 Within the date input control, do not allow users to input arithmetic shortcuts relating to time Mandatory
D+Tc-0043 Provide indication to the user that the 24-hour clock is in use Mandatory
D+Tc-0044 Within the time input control do not allow users to input arithmetic shortcuts relating to date Mandatory
D+Tc-0046 Within the date input control, allow users to select the entire value to facilitate rapid editing or entry of arithmetic shortcuts relating to date (only) Mandatory
D+Tc-0047 Within the time input control, allow users to select the entire value to facilitate rapid editing or entry of arithmetic shortcuts relating to time (only) Mandatory