
2 Nov
2009
2 Nov
'09
6:44 p.m.
On Mon, Nov 2, 2009 at 12:38 PM, Andrey Semashev <andrey.semashev@gmail.com>wrote:
Zachary Turner wrote:
Anyway, I don't think that bringing Windows-specific code to other
platforms is a good idea. If you want cross-platform code, use cross-platform types, such as time_t, ptime or local_time.
That's just it, I'm trying to use ptime.
Then why not simply send ptime over the network?
Using what method? by sending the result of ptime::ticks()? If so, how do I reconstruct a ptime from the result of this? Also, the server that this information is being sent to is written in Java, and it needs to be able to understand whatever is sent across (i.e. extract day/month/year/etc information)