T
tak
Hi.
I have a client / server application, which the client will send the
server a timestamp everytime when there is a transaction. The client
is using Java, and it sends the timestamp using java's
System.currentTimeMillis(), which returns, "the difference, measured
in milliseconds, between the current time and midnight, January 1,
1970 UTC."
On the server side - it is implemented in C++, so, with this number of
millis since 1/1/1970 - what C++ function can I use to get the month,
day, year, hour, minute, seconds, and milliseconds?
TIA,
Tak
I have a client / server application, which the client will send the
server a timestamp everytime when there is a transaction. The client
is using Java, and it sends the timestamp using java's
System.currentTimeMillis(), which returns, "the difference, measured
in milliseconds, between the current time and midnight, January 1,
1970 UTC."
On the server side - it is implemented in C++, so, with this number of
millis since 1/1/1970 - what C++ function can I use to get the month,
day, year, hour, minute, seconds, and milliseconds?
TIA,
Tak