Close
Close window
JulianDayNumber - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

Calendar

JulianDayNumber

return the Julian day number for a given date

ModifiedJulianDayNumber

return the modified Julian day number for a given date

Calling Sequence

JulianDayNumber( year, month, day )

ModifiedJulianDayNumber( year, month, day )

Parameters

year

-

integer; the year

month

-

posint; the month of the year

day

-

posint; the day of the month

Description

The Julian day number was devised in 1583 by Joseph Scaliger. It is a count of the number of days from noon on January 1, 4713 BCE (-4712) in the Julian proleptic calendar. (This is equivalent to November 24, 4714 BCE in the proleptic Gregorian calendar.) It covers a period of 7980 years because 7980 is the least common multiple of the lengths of three periods used in the Julian calendar: the indiction cycle of 15 years (an ancient system of dating documents), the Metonic cycle of 19 years (related to the lengths of the solar year and the lunar month), and the 28 year solar cycle (which takes account of the four year rule for leap years in the Julian calendar and the seven-day week to produce a 28 year cycle).

The JulianDayNumber( year, month, day ) command returns the modified Julian day number of the date specified by year, month and day.

The value of year must be greater than or equal to −4800, the month value month must be in the range 1..12, and day must equal a valid day of the month month.

The modified Julian day number of a date is equal to the Julian day number offset by the value −2.4000005×106. This results in smaller numerical values, and represents a day count from midnight, rather than noon.

The ModifiedJulianDayNumber( y, m, d ) command returns the modified Julian day number of the date specified by year, month and day.

Examples

>

withCalendar:

>

JulianDayNumber2017,11,3

2458061

(1)
>

ModifiedJulianDayNumber2017,11,3

58060.5

(2)
>

JulianDayNumber4713,11,24

0

(3)
>

JulianDayNumber1940,2,30

Compatibility

The Calendar[JulianDayNumber] and Calendar[ModifiedJulianDayNumber] commands were introduced in Maple 2018.

For more information on Maple 2018 changes, see Updates in Maple 2018 .


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /