Hi All,
I know that my question is posted before but it was for ORACLE but I’m creating a universe based on db2/400 and all dates are formatted as a Julian dates (6 and 7 digits) and I need to convert it the normal date format mm/dd/yyyy or dd/mm/yyyy. I tried to use the functions which used in CR to convert the Julian dates but it didn’t work with the Universe!!!
any help will be highly appreciated as I’m using BO-XI.
There are 1721423.5 days involved in the “BC” era (from midday January 1, 4713 onwards.) This is assuming year 1 BC, year 5 BC, year 9 BC etc are leap years.
After that, there are 693596 days prior to January 1, 1900 with every year that is a multiple of 4 being a leap year, except for years that are a multiple of 100 but are not a multiple of 400. (eg the year 800 is a leap year but the year 900 is not).
** Also note that the results the internet calculators (and thus this formula) give might be a bit dubious due to inconsistencies in the definition of leap years prior to year 0005. Refer to this website for further details:
“What years are leap years?” section on page