Jump to content

User:Alanbly/Time/doc

From Wikipedia, the free encyclopedia

This template prints the time and date (same as {{Time|utc}}) but allows substitution where {{Time}} does not. It provides the same information as ~~~~~ but adds a comma and links for the day of the month and the year.

Usage

[edit]
{{subst:User:Alanbly/Time}}

Note that this template does not work properly if subst is not used.

Additional parameters may also be used to modify the time being displayed, They are:

  • name - replaces the "(UTC)" part of the time
  • offset - is passed to the #time parser function to change the time for different timezones or to specific dates to be formatted using this syntax. It must be formatted in the correct syntax such as "-3" for UTC-3 or "+4 hours" for UTC-4. See List of time zones for a full list of available time zones.

See also

[edit]
  • {{time}} - A not-subst'able version which allows for CET and PST