obspy.core.utcdatetime.UTCDateTime.julday

property UTCDateTime.julday

Returns Julian day as an integer.

Return type:

int

Returns:

Julian day as an integer.

Example

>>> dt = UTCDateTime(2008, 10, 1, 12, 30, 35, 45020)
>>> dt.julday
275