DATETIME /TO
Keywords: sic

Next: DEFINE Up: DATETIME Previous: DATETIME /FROM Contents Index

###
DATETIME /TO

            [SIC\]DATETIME /TO Outvar1|* Outformat1 [... OutvarN|* OutformatN]

        The date-time(s) defined by the /FROM option is converted and transfered
        to  the  output  targets. A target can be a variable (given its name) or
        the terminal (if * is given). There is no restriction on their kinds and
        numbers, i.e. you can convert the date-time to all the possible formats,
        or repeat the same conversion for  several  targets.  Supported  formats
        are:

          YEAR         year value as integer
          MONTH        month value as integer
          DAY          day value as integer
          HOUR         hour value as integer
          MINUTE       minute value as integer
          SECONDS      seconds value  as real value
          JULIAN       Julian date with fractional day (e.g. 2457343.227256944)
          MJD          Modified Julian Date (e.g. 57342.72725694445)
          ISO          ISO date (e.g. 2015-11-16T17:27:15.000)
          GAG_DATE     GAG date integer format (e.g. -3207)
          YYYYMMDD     date with all numbers (e.g. 20151116)
          DD-MMM-YYYY  date where MMM is the month in letters (e.g. 16-NOV-2015)
          RADIAN       time of day in radians (betwen 0 and 2*pi)
          SEXAGESIMAL  time of day using sexagesimal notation (e.g. 17:27:15.000)

        If input the date-time specification is an array, the output variable(s)
        must be arrays of the same size.