Template:Datetime

From Archiveteam
Revision as of 22:05, 1 September 2023 by FireonLive (talk | contribs) (bring back the space? is there a better way without having a trailing one on the 'date-only' version?)
Jump to navigation Jump to search

{{{1}}}

Help

Takes a date and time and formats it consistently across the wiki, using the user's preferences for the date portion.

Usage:

  • Date & Time: {{datetime|ISO 8601 date|24h time|timezone|+/- from UTC}}
  • Date: {{datetime|ISO 8601 date}}

Example:

  • Date & Time: {{datetime|2023-08-28|22:00|CEST|+2}} turns in to 2023-08-28 22:00 CEST (UTC+2)
  • Date: {{datetime|2023-08-28}} turns in to 2023-08-28