<< dat_cal2gpsweek Utilities dat_cal2jd >>

scilib_geo >> Utilities > dat_cal2j2k

dat_cal2j2k

Transforms a calendar date and time into julian centuries based on Epoch J2000.0.

Calling Sequence

j2k = dat_cal2j2k(year, month, day [, hour, minute, second])
j2k = dat_cal2j2k(cal)

Parameters

cal

datevector [1x6] or [1x3]

year

year, integer [YYYY]

month

month, integer

day

day, integer

hour, minute second

daytime UT1, [hours, minutes, seconds] optional

j2k

date based on epoch J2000.0 in julian centuries

Description

Transforms a calendar date and time into julian centuries basd on Epoch J2000.0.

Date based on Epoch J2000.0

Timescale for the actual astronomical standard epoch J2000.0 (Bessel epoch). It is counted in julian centuries of 36525 days.

Examples

j2k = dat_cal2j2k(2018, 11, 30, 18)

See Also

Authors


Report an issue
<< dat_cal2gpsweek Utilities dat_cal2jd >>