1

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: 01:37
  • The hour is: 01
  • The timestamp is: 202411150137
    • or Fri Nov 15, 2024, 1:37:12 AM 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.