<< dat_jd2cal Utilities deg2dms >>

scilib_geo >> Utilities > dat_leapseconds

dat_leapseconds

Returns a matrix with all leapseconds, or counts the leapseconds to the given date (includes all to Bulletin C Nr. 41, Feb. 2011).

Calling Sequence

lsecs = dat_leapseconds()
lsecs = dat_leapseconds(type)
lsecs = dat_leapseconds(dt, utc)

Parameters

type

Format in which the dates should be returned, 'DT'days as in datenum(), 'D' date (year, month, day), string

dt

Date in decimal days (see UTC), for now only days supported. Daytime ist highly experimental, float

utc

Daytime (UTC), (has not been taken into account, highly experimental), float

lsecs

Matrix with all leapseconds [year, month, day, DT, leapsecond], [year, month, day, leapsecond] or [DT, leapsecond]

Counter of the elapsed leapseconds till the given date, integer

Description

Returns a matrix with all leapseconds (including future onces), or counts the leapseconds to the given date.

All data is received from the actual Bulletin C (39 of 1 Jan 2010) published by the IERS.

See Also

Authors


Report an issue
<< dat_jd2cal Utilities deg2dms >>