Notifications
Clear all

OLE date format

2 Posts
2 Users
0 Reactions
533 Views
(@tootypegs)
Trusted Member
Joined: 18 years ago
Posts: 80
Topic starter  

hi, has anyone come across a time and date stamp in OLE format? i know encase v6 decodes these but i was wondering if anyone has actually worked out how it does this? I have had a browse and found that the OLE format counts the days starting from dec 30th 1899 to present but i am interested in what each byte stores in the 8 byte time stamp and how it can be decoded? has anyone done this before?

thanks


   
Quote
PaulSanderson
(@paulsanderson)
Honorable Member
Joined: 19 years ago
Posts: 651
 

Your question doesn't really make sense. an OLE date time is a 64 bit floating point value (a double). The integral part is the number of days since 30/12/1899 and the fractional part is the the fraction of the day 0.5 = 1200, 0.25 = 0600, 0.125 = 0300 etc.

So you can't say what a particular byte relates to.

For more info than you probably want on floating point values see
http//en.wikipedia.org/wiki/Floating_point


   
ReplyQuote
Share: