1. Home
  2. Docs
  3. Style Guide
  4. Text Formatting
  5. Dates and Times

Dates and Times

Dates and times must be formatted consistently to avoid confusion, especially in documentation intended for a global audience. Correct formatting ensures that users from different regions can easily understand the information.

ISO 8601 Format:

  • Use ISO 8601 format for dates: This format is internationally recognized and helps avoid ambiguity. The format is YYYY-MM-DD. Example: “The feature was released on 2024-08-16.”
  • Use 24-hour time format: For clarity, especially in global contexts, use the 24-hour format. Example: “The server maintenance will start at 14:00 UTC.”

Time Zones:

  • Specify time zones when mentioning specific times: Always include the time zone to avoid confusion for global users. Example: “The webinar will begin at 10:00 AM EST (UTC-5).”
  • Avoid local time references: Use UTC as the standard when referencing times. If local time is necessary, provide the corresponding UTC time.

Relative Dates:

  • Avoid using relative dates: Terms like “today,” “yesterday,” or “tomorrow” can quickly become outdated. Always provide specific dates to maintain accuracy. Example: Instead of “The event was held yesterday,” write “The event was held on 2024-08-15.”

Dos:

  • Use ISO 8601 for dates. Example: “The release date is set for 2024-12-01.”
  • Specify time zones: Example: “The meeting is scheduled for 09:00 UTC.”

Don’ts:

  • Don’t use relative terms like ‘yesterday’ or ‘tomorrow’: These can quickly become inaccurate.