Don is probably looking for time_t mktime(tm * timeptr); Harald >>Date: Tue, 20 Dec 2005 08:08:54 +1000 >>From: Don Ingram >> >>Hi All, >> >>Would anyone have some code close at hand to provide the reciprocal of the >>localtime_r() function so that we can convert a _tm time struct to seconds to >>set the nut time.