0

I found code at https://stackoverflow.com/a/14554483/1082492 to convert a DateTime to a Julian Date but I can't find code to reverse the process and even more importantly included the time of day. I'm trying to do this in the .NET Micro Framework so what I can use is much more limited.

Community
  • 1
  • 1
shmuelie
  • 1,205
  • 1
  • 9
  • 24

1 Answers1

0

Using NodaTime allows you to convert an Instant to Julian Date by inst.ToJulianDate(); conversely converting a Julian Date to an Instant jd.FromJulianDate().

Madcat
  • 21
  • 1