_NAME_ getDateFromSecondsSince1996 _PROTOTYPE_ struct tm* getDateFromSecondsSince1996(time_t secondsSince1996); _SHORT-DESCRIPTION_ Get a date (struct tm format) from seconds since start of 1996 _DESCRIPTION_ getDateFromSecondsSince1996 returns the struct tm (see time.h) which corresponds to the number of seconds since Jan 1, 1996, 00:00:00. _SHORT-CODE-SAMPLE_ struct tm *pTimeStruct; uint32 secondsSince1996 = 54605304; _ pTimeStruct = getDateFromSecondsSince1996(secondsSince1996); printf("year = %d\n", pTimeStruct->tm_year + 1900); printf("month = %d\n", pTimeStruct->tm_mon); /* 0 - 11 */ printf("mday = %d\n", pTimeStruct->tm_mday); /* 1 - 31 */ printf("hour = %d\n", pTimeStruct->tm_hour); /* 0 - 23 */ printf("minute = %d\n", pTimeStruct->tm_min); /* 0 - 59 */ printf("second = %d\n", pTimeStruct->tm_sec); /* 0 - 59 */ _INPUT_ * secondsSince1996 is the number of seconds since Jan 1, 1996, 00:00:00. _OUTPUT_ * Returns a pointer to a tm struct (as defined in ). See code sample for fields of interest and possible values. Be aware that tm_year is the year since 1900, and most fields have a zero least value. The exception is the month-day, tm_mday.