Skip to contentWolf-Rayet

Date time picker

A date time picker lets users select a date and a time.

When to use

  • A date and a time together, such as when something is scheduled to run.
  • When the time matters, not only the day.

When not to use

  • A date alone. Use a calendar or a date field, and do not ask for a time nobody cares about.
  • A time alone, which is a time field.
  • A duration. That is two values or a number with a unit.

Guidance

Do

Label it with what happens at that time, and let the native control format it for the user’s locale.

Don't

Do not label it Date when you need a date and a time. People cannot tell what it is for or why you want a time.

Content

What to write, and what to leave out.

  • Label it with what happens then. Send the report at, not Date.
  • Say the timezone when it could be in doubt, because a time without one is ambiguous.
  • Do not ask for a time you will not use.