Python Forum
Library (julian), lack of usage information
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Library (julian), lack of usage information
#9
Is this not okay?
>>> import julian
>>> import pendulum
>>> 
>>> dt = '2018-09-09 12:12:12.005876'
>>> dt = pendulum.parse(dt)
>>> dt
DateTime(2018, 9, 9, 12, 12, 12, 5876, tzinfo=Timezone('UTC'))
>>> julian.to_jd(dt, fmt='jd')
2458371.0084722904
Same or this is or more correct than Calendar date to Julian date which can take 1 decimal place in seconds.
Reply


Messages In This Thread
RE: Library (julian), lack of usage information - by snippsat - Mar-03-2019, 12:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Questions regarding usage of pandas library Pala 5 1,208 Apr-26-2023, 10:21 PM
Last Post: deanhystad
  Lack of understanding "graphX, = ax.plot" easayed 1 2,381 Dec-21-2018, 11:08 PM
Last Post: micseydel
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 4,951 May-06-2017, 11:29 AM
Last Post: harun2525

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020