Re: How to use GsfTimestamp for windows timestamp (relative to 1.1.1601)
- From: Sagi Lowenhardt <sagilo gmail com>
- To: Morten Welinder <mortenw gnome org>
- Cc: Gnumeric Mailing List <gnumeric-list gnome org>
- Subject: Re: How to use GsfTimestamp for windows timestamp (relative to 1.1.1601)
- Date: Sun, 25 Nov 2018 23:59:18 +0200
Hi
Is there any example for using GDateTime in a property? (type should still be VT_FILETIME)
Hi
Microsoft Office holds EditTime in minutes starting from 1.1.1601 00:00.
So in case someone worked 4 minutes on a document, the time should show 1.1.1601 00:04.
But I guess I'll have to find another way to represent this.
> As far as my calculation goes, the difference is -11644473600 which doesn't fit in 32-bit > variable, am I wrong?
It's hard to know without known what date you are trying to represent.
If you really are trying to represent a date back in year 1601 then
you are out of luck. If, on the other hand, you are trying to
represent a date after 1970 then you should have no problem.
Morten
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]