This page shows the results from the following to demonstrate use of Module:Date.

{{#invoke:date/example|main}}

Discussion should be at Module talk:Date.


Make a date

9 March 2016 or March 9, 2016
9 March 2016 or March 9, 2016
9 March 2016 or March 9, 2016
9 March 2016 or March 9, 2016
9 March 2016 or March 9, 2016
9 March 2016 or March 9, 2016
9 March 2016 or March 9, 2016
9 March 2016 CE or March 9, 2016 CE
9 March 2016 A.D. or March 9, 2016 A.D.
3:45 pm 9 March 2016 or 3:45 pm March 9, 2016
3:45 p.m. 9 March 2016 or 3:45 p.m. March 9, 2016
15:45 9 March 2016 or 15:45 March 9, 2016
15:45 9 March 2016 or 15:45 March 9, 2016
Thursday 4 October 1582 in the Julian calendar is Julian day 2299160
Thursday 14 October 1582 in the Gregorian calendar is Julian day 2299160
Friday 15 October 1582 in the Gregorian calendar is Julian day 2299161

Show a date

2016-03-09
2016-03-09 BC
March 9, 2016
March 9, 2016 BC
9 March 2016
9 March 2016 BC
9 March 2016
9 March 2016 B.C.E.
Wednesday March 9, 2016
Saturday March 9, 2016 BC
Wednesday March 9, 2016 A.D.
Saturday March 9, 2016 B.C.
a Wednesday in March 2016
a Saturday in March 2016 BC

Keep format of input date

Format of somedate was mdy
9 March 2016 or 9 March 2016
9 March 2016 or 2016-03-09
9 March 2016 or 9 March 2016
9 March 2016 or March 9, 2016
1 March 2016 or March 1, 2016
1 April 2016 or April 1, 2016
9 December 2015 or December 9, 2015
3:45 p.m. 9 March 2016 or 3:45 p.m. March 9, 2016

Current date showing when this page was last purged

28 November 2024
November 28, 2024
2024-11-28
Thursday 28 November 2024
17:45:37 28 November 2024
17:45:37
5:45 pm 28 November 2024

Using the current date as a default

2024
11
28
14
30
0
2:30 pm 28 November 2024

Make a date from the day number in a year

Day 123 in 2015 is 3 May 2015
Day 123 in 2016 is 2 May 2016

Days in month

28
February 1900 had 28 days
February 1900 had 28 days

Days in month (Julian calendar)

29
February 1900 had 29 days
February 1900 had 29 days

Julian date (Gregorian)

Julian day number was 0 on November 24, 4714 BCE
Last day in month (30 November 1899 Gregorian calendar) had Julian day number 2414989
Last day in month (31 December 1899 Gregorian calendar) had Julian day number 2415020
Last day in month (31 January 1900 Gregorian calendar) had Julian day number 2415051
Last day in month (28 February 1900 Gregorian calendar) had Julian day number 2415079

Julian date (Julian)

Last day in month (30 November 121 BC Julian calendar) had Julian day number 1677562
Last day in month (31 December 121 BC Julian calendar) had Julian day number 1677593
Last day in month (31 January 120 BC Julian calendar) had Julian day number 1677624
Last day in month (28 February 120 BC Julian calendar) had Julian day number 1677652

How long

Invalid date: 29 Feb 2100

How long

Thursday November 28, 2024 (day of year = 333, serial day = 739218) is now (0 days)
(0 years + 0 months + 0 days)

How long

Tuesday February 29, 2400 (day of year = 60, serial day = 876276) will be in 137058 days
(375 years + 3 months + 1 days)

How long

Tuesday February 29, 2401 BCE (day of year = 60, serial day = -876888) was 1616106 days ago
(4424 years + 8 months + 30 days)

First and third Fridays in each month of 2016

1 January 2016, 15 January 2016
5 February 2016, 19 February 2016
4 March 2016, 18 March 2016
1 April 2016, 15 April 2016
6 May 2016, 20 May 2016
3 June 2016, 17 June 2016
1 July 2016, 15 July 2016
5 August 2016, 19 August 2016
2 September 2016, 16 September 2016
7 October 2016, 21 October 2016
4 November 2016, 18 November 2016
2 December 2016, 16 December 2016

Next Friday and last Friday for certain dates

For Friday 1 January 2016, the next is Friday 8 January 2016, and the last is Friday 25 December 2015
For Saturday 2 January 2016, the next is Friday 8 January 2016, and the last is Friday 1 January 2016
For Monday 3 March 1980, the next is Friday 7 March 1980, and the last is Friday 29 February 1980

Start a discussion about improving the Module:Date/example page

Start a discussion