Template:Datetime
Revision as of 22:00, 1 September 2023 by FireonLive (talk | contribs) (Allow template user to only specify a date)
{{{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 to2023-08-2822:00 CEST (UTC+2)
- Date:
{{datetime|2023-08-28}}
turns in to2023-08-28