Jump to content

Module:Time/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BrandonXLF (talk | contribs) at 16:12, 15 August 2018. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Usage

This module produces the time and date of a timezone. The module is used by Template:Time. For more information you can see it's documentation.

Parameters

  • |unnamed parameter #1 This parameters sets the timezone for the time (eg. EST or UTC+07:00)
  • |df=/|unnamed parameter #2 This parameter sets the format of the time
  • |df=dmy12 dmy 12 hour time and date
  • |df=mdy12 mdy 12 hour time and date
  • |df=dmy24 dmy 24 hour time and date
  • |df=mdy24 mdy 24 hour time and date
  • |df=24 24 hour time only
  • |df=12 12 hour time only
  • |dateonly=yes Removes the time from the output
  • |no-link=yes Removes the link to the article
  • |no-refresh=yes Removes the refresh link

Historical parameters

  • |dmy= same as dmy24 (avoid using to prevent confusion that it only produces the date)
  • |mdy= same as mdy24 (avoid using to prevent confusion that it only produces the date)
  • |y= same as dmy24