i have managed to make a NTP request and retrieve the server time from it’s NTP response.
i want to convert this number to a Human-readable time, writing in C++.
can some one help me ?
as example you can look at:
http://www.4webhelp.net/us/timestamp.php?action=stamp&stamp=771554255&timezone=0
once you set the timestamp to 771554255 you’ll get “29/7/2010 13:14:32”.
i wanna do the same in my code,
any help ?
i have managed to make a NTP request and retrieve the server time from
Share
It’s not C++, but here’s a perl implementation. Converting this into C++ should be no big deal:
http://www.ntp.org/ntpfaq/NTP-s-related.htm#AEN6780