Convert AD LastLogonTimestamp to Useable DateTime

AD uses a datetime format I had never come across until recently. The number of 100-nanosecond intervals since Jan 1 1601!

Use this formula in excel to convert from the lastlogontimestamp to a human readable format.

=IF(C2>0,C2/(8.64*10^11) - 109205,"")

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s