tlpipe.utils.date_util.get_juldate¶
-
tlpipe.utils.date_util.
get_juldate
(local_time, tzone='UTC+08h')[source]¶ Convert local_time to Julian date.
Parameters: - local_time (string, python date or datetime object, etc.) – Local time that can be passed to ephem.Date function. Refer to http://rhodesmill.org/pyephem/date.html
- tzone (string, optional) – Time zone in format ‘UTC[+/-]xxh’. Defaut: UTC+08h.
Returns: julian_date – A float number representation of a Julian date.
Return type: See also
get_ephdate