The Muffin Man
The Muffin Man

Reputation: 20004

Get date time from conversation index timestamp

In Outlook there is a concept of conversation indexes. The original email will have a conversation index like so:

01017C2A2FF4481FED6C146C98A04E2FDB77CEFE8E239603ED7DE0

According to many google searches a reply appends a datetime stamp to it 01017C2A2FF4481FED6C146C98A04E2FDB77CEFE8E239603ED7DE0800000ABF0

800000ABF0

However none of them tell you how to parse this value.

How would you get a DateTime object from that?

Upvotes: 1

Views: 863

Answers (1)

Dmitry Streblechenko
Dmitry Streblechenko

Reputation: 66316

As you already figured out, the format is specified at http://msdn.microsoft.com/en-us/library/office/cc765583.aspx.

Note however that you cannot cast FILETIME structure to date time. FileTime is the number of ticks (1 tick = 100 nanoseconds) since 1/1/1601. One of the DateTime constructors takes ticks (8 byte integer) as a parameter.

Upvotes: 2

Related Questions