Template:JULIANDAY/doc

ވިކިޕީޑިއާ އިން


This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2000|1|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2000|2|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2000|3|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2000|12|31}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2002|12|31}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2003|12|31}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|2|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|3|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|3|31}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|4|30}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
  • {{JULIANDAY/doc|2006|5|1}} returns

This template computes the number of the Julian day starting at noon on the date given in parameter (in the Gregorian calendar, without any Julian correction for proleptic Gregorian dates where the calendar was not effectively applied).

The result is valid for all proleptic Gregorian calendar dates starting on March 1, 4801 BC at midnight.

Syntax:
{{JULIANDAY|year|[month]|[day]|[hour]|[minute]|[second]}}
  • The year (required) must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
  • The month (optional, default value 1) is expressed between 1 et 12 from january to december (but offsets are possible for computing other years).
  • The year and month are first converted into a number of months, then rounded to the nearest integer to compute the actual year and month used for computing dates.
  • The day (optional, default value 1) is normally between 1 et 31 (but offsets are possible for computing other months). Decimals are possible for fractions of day.
  • The hour (optional, default value 12) is normally between 0 and 23 (but offsets are possible for computing other days). Note that Julian days begin at noon (hour = 12) and thus hours 0-11 of a solar day are one Julian day earlier than hours 12-23. The value may extend outside of the normal range and is considered as additional number of julian days (a Julian day is 24 hours or 86400 seconds exactly, ignoring any adjustment of leap seconds within the UTC calendar). Decimals are possible for fractions of hour.
  • The minute and second (optional, default value 0) are normally between 0 and 59 (but offsets are possible for computing other hours). Decimals are possible for fractions of minute or second.
  • All parameters can be any valid numeric expression which is evaluated before computing.
Note:
The julian day, when computed modulo 7, grows from 0 (on monday at noon) to 6 (on sunday at noon)) and falls back to 0 (on next monday). This corresponds to the order of days in the ISO week.
Examples:
  • {{JULIANDAY/doc|-4800|2|29|23|59|59}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), last Gregorian date where the result is false (the returned JD is too large by 365 days)
  • {{JULIANDAY/doc|-4800|3|1|0|0|0}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), first Gregorian date where the result is correct
  • {{JULIANDAY/doc|-4800|3|1}} returns JULIANDAY/doc (proleptic) (in year 4801 BC), same date at noon
  • {{JULIANDAY/doc|-4800|3|2}} returns JULIANDAY/doc (proleptic) (in year 4714 BC), tests the 1 day increment
  • {{JULIANDAY/doc|-4713|11|24}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|-4713|11|25}} returns JULIANDAY/doc (proleptic) (in year 4714 BC)
  • {{JULIANDAY/doc|0|1|1}} returns JULIANDAY/doc (proleptic) (in year 1 BC)
  • {{JULIANDAY/doc|0|12|25}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|0|12|30}} returns JULIANDAY/doc (proleptic) (Julian Anno Domini, first day in proleptic Julian year 1 AD, or December 30 in proleptic Gregorian year 1 BC)
  • {{JULIANDAY/doc|0|12|31}} returns JULIANDAY/doc (proleptic)
  • {{JULIANDAY/doc|1|1|1}} returns JULIANDAY/doc (proleptic) (Gregorian Anno Domini, in proleptic Gregorian year 1 AD, or January 3 in proleptic Julian year 1 AD)
  • {{JULIANDAY/doc|200|2|28}} returns JULIANDAY/doc (proleptic) (last day of Julian leap year 200 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|200|3|1}} returns JULIANDAY/doc (proleptic) (first day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|2|28}} returns JULIANDAY/doc (proleptic) (last day where the Julian and proleptic Gregorian calendars are equivalent)
  • {{JULIANDAY/doc|300|3|1}} returns JULIANDAY/doc (proleptic) (first day of difference between the Julian and proleptic Gregorian calendars, in leap Julian year 300 AD, not leap in the proleptic Gregorian calendar)
  • {{JULIANDAY/doc|325|3|21}} returns JULIANDAY/doc (proleptic) (spring equinox observed at the christian First Council of Nicaea, taken as a reference for aligning the Julian calendar to the proleptic Gregorian)
  • {{JULIANDAY/doc|1782|10|14}} returns JULIANDAY/doc (proleptic) (last proleptic Gregorian day, actually the 4th of october in the Julian calendar)
  • {{JULIANDAY/doc|1782|10|15}} returns JULIANDAY/doc (first non proleptic Gregorian day, equals the 5th of october in the previous Julian calendar)
  • {{JULIANDAY/doc|1858|11|16|12|00|00}} returns JULIANDAY/doc (start of epoch for the Reduced Julian Day, RJD)
  • {{JULIANDAY/doc|1858|11|17|00|00|00}} returns JULIANDAY/doc (start of epoch for the Modified Julian Day, MJD)
  • {{JULIANDAY/doc|1968|05|24|00|00|00}} returns JULIANDAY/doc (start of epoch for the NASA's Truncated Julian Day, TJD)
  • {{JULIANDAY/doc|1995|10|10|00|00|00}} returns JULIANDAY/doc (start of epoch for the current NIST's Truncated Julian Day, TJD mod 10000)
  • {{JULIANDAY/doc|1999|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|1|1}} returns JULIANDAY/doc (the “Y2K bug's day” and millennium celebrations)
  • {{JULIANDAY/doc|2000|1|2}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2000|12|31}} returns JULIANDAY/doc (last day of the 2nd millennium and of the 20th century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|1|1}} returns JULIANDAY/doc (first day of the 3rd millennium and of the 21st century in the Gregorian calendar)
  • {{JULIANDAY/doc|2001|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2002|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2003|12|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|2|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|1}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|3|31}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|0|0|0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|01|35|48}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|11|59|60}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|12.0}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|4|30|23|59|59}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|00|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1|12|00|00}} returns JULIANDAY/doc
  • {{JULIANDAY/doc|2006|5|1}} returns JULIANDAY/doc
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY
See also:
  • Template:JULIANDAY.JULIAN (version taking a date in the Julian calendar)
  • Template:JD (automatic Julian or Gregorian calendar determination)
  • Template:JULIANDAY.YEAR (returns the year from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.MONTH (returns the month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.DAY (returns the day of month from a JD, in the Gregorian calendar)
  • Template:JULIANDAY.JULIAN.YEAR (returns the year from a JD, in the Julian calendar)
  • Template:JULIANDAY.JULIAN.MONTH (returns the month from a JD ,in the Julian calendar)
  • Template:JULIANDAY.JULIAN.DAY (returns the day of month from a JD, in the Julian calendar)
  • Template:JULIANDAY.HOUR (returns the hour from a JD)
  • Template:JULIANDAY.MINUTE (returns the minute from a JD)
  • Template:JULIANDAY.SECOND (returns the second from a JD)
  • Template:YEARCC
  • Template:YEARYY
  • Template:CENTURY
  • Template:ISLEAPYEAR
  • Template:WEEKDAY
  • Template:ISOYEAR
  • Template:CURRENTJULIANDAY