Template:CURRENTTIME  

This template emulates the Magic Word, {{CURRENTTIME}}, as implemented in MediaWiki.

  • If you are not a registered user or are not logged in, Time is given as UTC.
  • If you are logged in the timezone value in your profile is used to adjust the date/time to your local timezone.

usage: {{CURRENTTIME|hour|stamp||stamp2}}

Outputs the number of the current time (hh:mm).

hour

(optional) outputs the hour (hh).
stamp
(optional) outputs the full timestamp (CCYYMMDDhhmmss)
stamp2
(optional) outputs the full timestamp in pretty format (Dow Mmm DD, CCYY hh:mm:ss xM)

Examples:

  • The time is: 09:07
  • The hour is: 09
  • The timestamp is: 202411210907
    • or Thu Nov 21, 2024, 9:07:59 PM if you prefer

See also: Magic Words


Need help understanding Bludwyng's documentation style? See Bludwyng's Guide to Using Templates!


Tytania
The Relentless
Fae Wizard
Lucan D'Lere
EverQuest II
This template was created or is maintained by
Bludwyng
All the power in the universe in a small, flaming fairy package.

This page last modified 2010-12-02 09:35:10.