CDF_LEAPSECONDS_INFO -------------------- The CDF_LEAPSECONDS_INFO function returns a structure containing information about the leap seconds used by CDF. Syntax result = CDF_LEAPSECONDS_INFO () Return Value The returned structure has the form: { USE_FILE: 1, CDF_LEAPSECONDSTABLE:"...", $ LASTUPDATED:LONARR(...), LEAPSECONDS: DOUBLEARR(...)} Explanation of the Structure Tags Tag USE_FILE This field will contain a 1 if the leap seconds are read from a file. 0 means the leap seconds are based on the hard-coded table in the CDF library, which may not have the latest leap second(s) if the library is not up-to-date. CDF_LEAPSECONDSTABLE This field contains the value of environment variable: CDF_LEAPSECONDSTABLE, if it is defined. Its value is supposed to be the file name of the leap seconds table. Data contents for the leap seconds should be properly formatted to be valid for use. LASTUPDATED An array of ints. This field shows the last date, in year, month and day, that the leap seconds table is updated, which can show whether the table is up-to-date. LEAPSECONDS This field contains the contents of the leap seconds table that is used by CDF library. Arguments None Keywords None Examples: info = CDF_LEAPSECONDS_INFO() help, info, /struct print, info Version History Introduced: CDF 3.4.0