Personal tools

Avoid time calendar problems

From MohidWiki

Revision as of 18:46, 12 September 2013 by Paulochambel (talk | contribs) (Created page with "The MOHID system assume that all dates are in Gregorian calendar. However, the general convention for dates is that for dates: - previous to 5-10-1582 the Julian calendar is th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The MOHID system assume that all dates are in Gregorian calendar. However, the general convention for dates is that for dates:

- previous to 5-10-1582 the Julian calendar is the valid one - earlier than 14-10-1582 the Gregorian calendar is the valid one - between 5-10-1582 and 14-10-1582 there is no valid calendar.

For MOHID time is a continuous dimension so was decided to use only one calendar the Gregorian.

If a user wants to use the MOHID tools for a date previous to 14-10-1582 the user must convert the dates from the Julian calendar to the Gregorian date. There are many only conversion tools (e.g. http://www.fourmilab.ch/documents/calendar/).

The MOHID programmers can use from ModuleTime serie the function JulianDateToGregorianDate to convert dates from the Julian calendar to the Gregorian one.