It seems to me that the documentation for DateTimeToJulianDate function contains a (very understandable) confusion between Julian date and Julian calendar.It is not Julian as opposed to Gregorian.How can people have chosen such a bad name (Julian day)? https://aa.usno.navy.mil/faq/JD_formulahttps://www.tondering.dk/claus/cal/julperiod.php