Correction to dateToJulianDay

Return the full Julian datetime, not just the date.