http://www.fourmilab.ch seems to deal with Julian Day Count which contains the time of the day as a fraction. In Knora, we only support Julian Day Numbers so far which is an integer.
In our code, fractions are ignored. We have to make sure that the rounding is correct, especially when converting a JDN back to a calendar date.
http://www.fourmilab.ch seems to deal with Julian Day Count which contains the time of the day as a fraction. In Knora, we only support Julian Day Numbers so far which is an integer.
In our code, fractions are ignored. We have to make sure that the rounding is correct, especially when converting a JDN back to a calendar date.
see https://github.com/dhlab-basel/JDNConvertibleCalendar/blob/master/src/JDNCalendarConversion.ts