[Mono-dev] DateTime Serialization

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Sat Dec 18 21:49:33 EST 2010

Well, date and time information can sure be locale independent, but 
NET's DateTime values aren't. It also contains DateTimeKind flag and 
ToBinary() adds that information within the 64 bit return value in 
addition to UTC time ticks.

So, Karsten is right and that is indeed a good point. I'll visit bug 
#660424 tomorrow.

Atsushi Eno

(2010/12/19 4:19), CodeSlinger wrote:
> Just a thought - if using WCF, the client and server could be in different
> zones so why would you want anything other than UTC time to be passed around
> in the first place which is always what should be stored and only converted
> when displayed using the local conventions. The zone is not part of the
> datetime data but rather the machine. Dave

More information about the Mono-devel-list mailing list