Calendar - Maple Programming Help

Home : Support : Online Help : Programming : Date and Time : Calendar package : Calendar/JulianDayNumber

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{10}^{6}$. 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

 > $\mathrm{with}\left(\mathrm{Calendar}\right):$
 > $\mathrm{JulianDayNumber}\left(2017,11,3\right)$
 ${2458061}$ (1)
 > $\mathrm{ModifiedJulianDayNumber}\left(2017,11,3\right)$
 ${58060.5}$ (2)
 > $\mathrm{JulianDayNumber}\left(-4713,11,24\right)$
 ${0}$ (3)
 > $\mathrm{JulianDayNumber}\left(1940,2,30\right)$

Compatibility

 • The Calendar[JulianDayNumber] and Calendar[ModifiedJulianDayNumber] commands were introduced in Maple 2018.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 10, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.408833771944046, "perplexity": 1811.7470461516893}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-34/segments/1596439739370.8/warc/CC-MAIN-20200814190500-20200814220500-00363.warc.gz"}