Protected template

Template:Date

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history

29 March 2024

template icon Template documentation[view] [edit] [history] [purge]

based on Module:Date, see https://en.wikipedia.org/wiki/Module:Date/doc

Usage

Date and time or both together.

Parameters:

  1. Date - leave blank for today, which moits the year
  2. Formatting

Examples

  • {{date||mdy}}

→ March 29


  • {{date|2002-12-31|mdy}}

→ December 31, 2002


  • {{date|{{CURRENTTIMESTAMP}}|mdy}} using magic word CURRENTTIMESTAMP

→ 29 March 2024


  • {{date|2002-12-31|mdy}}

→ December 31, 2002


  • not working! {{date|2002-12|mdy}} Year and month only yyyy-mm add in some automatically generated references

→ December 1, 2002

With errors

  • {{date||mdy-all}} INVALID values default to dmy

→ 29 March


  • {{date||iso}}

→ March 29

This template replies on modules.

See also