Search results
Results from the WOW.Com Content Network
Generates a more readable output for timestamps in the format YYYYMMDDHHMMSS – as returned by the {{REVISIONTIMESTAMP}} magic word. For example, {{FRTS | 20230501215438}} is output as "2023-05-01 21:54:38". The template is equivalent to using the time function — For example {{#time: Y-m-d H:i:s | {{REVISIONTIMESTAMP}}}} — outputs 2024-02 ...
Converts dates into a format used on Wikipedia Template parameters [Edit template data] Parameter Description Type Status date 1 Date to be formatted Example Jan 1, 2007 Date suggested format 2 Controls the date format for the result Default DMY Example MDY String suggested The above documentation is transcluded from Template:Date/doc. (edit | history) Editors can experiment in this template's ...
For dst rules that specify local event times, the timestamp is the sum of: timestamp = current year + dst_month + dst_day + dst_time (all in seconds) local time Adjust local time to UTC by subtracting utc_offset: timestamp = timestamp - utc_offset (in seconds) For dst_end timestamp, subtract an hour for DST timestamp = timestamp - 3600 (in ...
Instead, they record the date or time that the page was most recently edited or purged. If you want a clock that constantly updates, then go to Special:Preferences#mw-prefsection-gadgets and enable the Appearance item, "Add a clock to the personal toolbar that displays the current time in UTC and provides a link to purge the current page".
No description. Template parameters [Edit template data] Parameter Description Type Status time zone 1 The time zone for the time formatting Example EST String suggested date format 2 df The format to render the date and time Example dmy12 Unknown suggested Daylight savings time dst no description Example yes String optional ISO 639 language code lang displays time/date in language specified ...
Help:Time function, about using the #time parser function For the magic words with the same or similar names, see MediaWikiWiki:Help:Magic words § Date and time . Multiple units of time
This template calculates the amount of time which has passed since a provided timestamp. Template parameters [Edit template data] Parameter Description Type Status Timestamp 1 Base timestamp for calculation of passed time. Example format: Nov 6 2008, see template documentation for other supported formats. String required magnitude magnitude Explicitly sets a specific unit to display return ...
-- The output can be formatted using the "format" argument, which works in the same way as the #time parser function.-- The default format is the standard Wikipedia timestamp. local lang = mw. language. getContentLanguage local function getDate (format, ts) local success, date = pcall (lang. formatDate, lang, format, ts) if success then return ...