Path: Common/Time
% Compute the Julian Date from the local time.
This does not account for daylight savings time.
--------------------------------------------------------------------------
Form:
jD = LocalTimeToJD( dateTime, lon )
--------------------------------------------------------------------------
------
Inputs
------
datetime (1,6) [year month day hour minute seconds]
or the datetime data structure.
.year
.month
.day
.hour
.minute
.second
lon (1,1) Longitude in radians
-------
Outputs
-------
jD (1,1) Julian date
--------------------------------------------------------------------------
Common: Time/LocalTimeToGMT Common: Transform/DMS2Rad
Back to the Common Module page