Jump to content

Template:Start and end dates and age/doc

From the Vrienden Universe, a fictional wiki

When not to use this template

[edit source]

Do not use this template for:

  • dates that are uncertain e.g., "before 4 April 1933"; "around 18 November 1939".
  • dates outside the range given under below.
  • other, secondary dates
  • outside -emitting templates—if in doubt, see the parent template's documentation
  • more than one date in any parent template

{{tlx|Start and end dates and age|YYYY|MM|DD|YYYY|MM|DD|agein|formatting}

Examples

[edit source]
  • Standard: {{Start and end dates and age|1939|9|1|1945|9|2}} → September 1, 1939 – September 2, 1945 (1939-09-01 – 1945-09-02) (6 years and 1 day)
  • Day first: {{Start and end dates and age|1939|9|1|1945|9|2|df=yes}} → 1 September 1939 – 2 September 1945 (1939-09-01 – 1945-09-02) (6 years and 1 day)
  • Same year: {{Start and end dates and age|1939|9|1|1939|10|2}} → September 1 – October 2, 1939 (1939-09-01 – 1939-10-02) (1 month and 1 day)
  • Same month and year: {{Start and end dates and age|1939|9|1|1939|9|2}} → September 1–2, 1939 (1939-09-01 – 1939-09-02) (1 day)
  • Present range: {{Start and end dates and age|1939|9|1|present}} → September 1, 1939 – present (1939-09-01 – present) (Error: Second date should be year, month, day)


Use in microformats

[edit source]

Tracking categories

[edit source]

See also

[edit source]