22 May
2009
22 May
'09
6:28 a.m.
Archie14@lists.boost.org wrote:
I will appreciate any help in sorting out following issue:
There is a value dt of type long. Calling boost::posix::time::from_ftime in c++ and DateTime.FromFileTime with that value produce "slightly" different results:
dt = 128822886020000000
c++: "2009-Mar-23 13:30:02" c#: {3/23/2009 9:30:02 AM}
DateTime.FromFileTimeUtc will probably produce the same results as boost::posix::time::from_ftime. Perhaps DateTime.SpecifyKind are needed as well. Regards, Anders Dalvander