dsgp4.util.from_datetime_to_fractional_day#

dsgp4.util.from_datetime_to_fractional_day(datetime_object)#

Converts a datetime object to a fractional day. The fractional day is the number of days since the beginning of the year. For example, January 1st is 0.0, January 2nd is 1.0, etc.

Parameters:#

datetime_object (datetime.datetime): datetime object to convert

Returns:#

float: fractional day