Convert rtems_clock_time_value to UTC (ascii)

Rolf Schroedter Rolf.Schroedter at dlr.de
Mon Jul 25 15:44:40 UTC 2005


My measurement data has an RTEMS timestamp in seconds,microseconds 
(rtems_clock_time_value). How can I convert this value later to 
human-readable UTC.
Obviously gmtime() cannot be used, because the RTEMS value has an offset 
to UNIX-style time_t.

Is there a constant #define'ed, which should be added to get a UNIX time_t ?

Thanks & regards,
ROLF.

------------------------------------
Rolf Schroedter
German Aerospace Center
Institute of Planetary Research
D-12489 Berlin, Rutherfordstrasse 2
Tel/Fax:  (+49) (30) 67055-416/384
Email:    Rolf.Schroedter at dlr.de




More information about the users mailing list