Skip to content

cFromJulianDate

Ben Izd edited this page Jan 16, 2022 · 1 revision

Create DateObject by offset from -4714-11-24 12:00 (with no year zero) with default TimeZone:

cFromJulianDate[2459596.16]

(* Out: DateObject[{2022, 1, 16, 19, 20, 24.}, "Instant", "Gregorian", 3.5] *)

With a custom TimeZone

cFromJulianDate[2459596.16, TimeZone -> 2]

(* Out: DateObject[{2022, 1, 16, 17, 50, 24.}, "Instant", "Gregorian", 2.] *)
Clone this wiki locally