Template:Dts/examples

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Template syntax Date rendered
{{dts|2001}} 02001-01-012001
{{dts||1|1}} 02019-01-01January 1
{{dts|-50|July}} -9950-07-01July 50 BC
{{dts|-1000|July|4}} -9000-07-04July 4, 1000 BC
{{dts|5|July|4|BC}} -9995-07-04July 4, 5 BC
{{dts|40|July|4|BC}} -9960-07-04July 4, 40 BC
{{dts|1|July|4|BC}} -9999-07-04July 4, 1 BC
{{dts|88|July|4}} 00088-07-04July 4, 88
{{dts|2007|7|11}} 02007-07-11July 11, 2007
{{dts|2001|sep|11}} 02001-09-11Sep 11, 2001
{{dts|format=dmy|2001}} 02001-01-012001
{{dts|format=dmy||1|1}} 02019-01-011 January
{{dts|format=dmy|-50|July}} -9950-07-01 July 50 BC
{{dts|format=dmy|July}} 02019-07-01July
{{dts|format=dmy||July}} 02019-07-01 July
{{dts|format=dmy|-1000|July|4}} -9000-07-044 July 1000 BC
{{dts|format=dmy|5|July|4|BC}} -9995-07-044 July 5 BC
{{dts|format=dmy|40|July|4|BC}} -9960-07-044 July 40 BC
{{dts|format=dmy|1|July|4|BC}} -9999-07-044 July 1 BC
{{dts|format=dmy|88|July|4}} 00088-07-044 July 88
{{dts|format=dmy|2007|7|11}} 02007-07-1111 July 2007
{{dts|format=dmy|2001|sep|11}} 02001-09-1111 Sep 2001
{{dts|2001}} 02001-01-012001
{{dts|1 January}} 02019-01-011 January
{{dts|July 19}} 02019-07-19July 19
{{dts|July 1923}} 01923-07-01July 1923
{{dts|10 July 1994}} 01994-07-1010 July 1994
{{dts|July 4, 1555}} 01555-07-04July 4, 1555
{{dts|24 Sep 2004}} 02004-09-2424 Sep 2004
{{dts|format=mdy|1 July 1893}} 01893-07-01July 1, 1893
{{dts|format=dmy|July 4, 1688}} 01688-07-04July 1688
{{dts|format=dmy|2007-7-11}} 02007-07-1111 July 2007
{{dts|2001-11-11}} 02001-11-11November 11, 2001