I'm writing a program that will parse and print packet information from a tcpdump file.
One of the fields is the timestamp, which is in seconds.
The program is reading the timestamp into an unsigned int type.
I need to be able to convert the timestamp in seconds to a normal date/time form.
Any suggestions would be appreciated.
Thanks.