jdedwards - What is the precise definition of JDE's Julian Date format? -


I'm writing the code to convert from a Gregorian date to Jde (Julian) date.

Note: The general use of a JDE word is different from Julian's date.

As far as I can work with Googling, JDE is the Julian date:

  1000 * (year -1900) + deafior >  

Where the year is 4-digit (as of 2009) and the month of the month is 1 for January 1, and 315 December (i.e. this is a leap year) for 365 or 366 or so Year is counted.

My question is: were supported 1900 years ago? If so, then the above formula can still be, or it should be:

  1000 * (year-1900) - Deophier  

(Instead of note zero

or something else?

Is there any link to the official document for this date format?

The date of J. J. Julian is CYDDD, which is the date of the year, year, year.

Century is zero for 20 degrees 19XX And for the 21st A is 20XX.

The year is two digits, so 101001 is 1 January 2001

As you can see it will not support dates prior to 1900.

See this Oracle page for a simple and authoritative explanation:


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -