Go to the documentation of this file.
5 int hh = 0, mn = 0, sc = 0, cc = 0, mc = 0;
14 status = sscanf(zulu,
"%4d%3d", &yy, &dd);
17 status = sscanf(zulu,
"%4d%3d%2d", &yy, &dd, &hh);
20 status = sscanf(zulu,
"%4d%3d%2d%2d", &yy, &dd, &hh, &mn);
23 status = sscanf(zulu,
"%4d%3d%2d%2d%2d", &yy, &dd, &hh, &mn, &sc);
26 status = sscanf(zulu,
"%4d%3d%2d%2d%2d%2d", &yy, &dd, &hh, &mn, &sc, &cc);
30 status = sscanf(zulu,
"%4d%3d%2d%2d%2d%3d", &yy, &dd, &hh, &mn, &sc, &mc);
33 printf(
"%s : unrecognized zulu time format\n", __FILE__);
37 printf(
"%s : problem interpreting zulu time format\n", __FILE__);
42 sec = (
double) (hh * 3600 + mn * 60 + sc + cc / 100. + mc / 1000.);
double yds2unix(int16_t year, int16_t day, double secs)
double zulu2unix(char *zulu)
integer, parameter double