NAME

DateUT2JD

Translate a date and hour string to its corresponding Julian day value.

USAGE

DateUT2JD [-ET] datehourstring

PARAMETERS

datehourstring: Is a string representing the UT moment to translate.

OPTIONS

-ET: Instead of returning the UT decimal Julian day, make a correction to return the E.T. Julian day. (UT = Universal Time, something very near the Greenwich Mean Time, ET is the Ephemeris Time, used by astronomers to compute the ephemeris).

RETURN

The Julian day in decimal days.

EXAMPLE

PutTxt [DateUT2JD [SunSetUT]]

PutTxt [DateUT2JD -TE [SunSetUT]]

Output

2439018.25

2439018.25

In this example the two values are the same because difference between ET and UT is only significant for far old horoscopes.