[Winpcap-users] Is there an easy way to get current time/date in Unix format?

Thomas J. Ryan t.ryan at hypersynergy.net
Mon Aug 28 00:42:28 GMT 2006


I'm trying to capture packets and am just wondering if there's an easy way
to get the current date/time in Unix format for use in the pcap struct, or
if we have to do a manual conversion.

Any help would be much appreciated.

Regards,
Tom Ryan



More information about the Winpcap-users mailing list