From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Isenhour, Joseph
Sent: Tuesday, March 29, 2005 4:29 PM
To: [email protected]
Subject: RE: [ActiveDir] Storing dates in AD
Windows NT uses a 64-bit integer to track time. However, it uses 100 nanoseconds as its increment and the beginning of time is January 1, 1601, so NT suffers from the Year 2184 problem.
I don't think we'll be on the same system in 2,184, but I don't want to be short sighted :) Does Microsoft still use a 64-bit integer?
That's a good point Al, the date is not going to be compared to the other date types in AD so I suppose it really doesn't matter. I may go with the NT date just to be consistent.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mulnick, Al
Sent: Tuesday, March 29, 2005 1:15 PM
To: [email protected]
Subject: RE: [ActiveDir] Storing dates in AD
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Isenhour, Joseph
Sent: Tuesday, March 29, 2005 4:06 PM
To: [email protected]
Subject: RE: [ActiveDir] Storing dates in AD
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Monday, March 28, 2005 5:33 PM
To: [email protected]
Subject: RE: [ActiveDir] Storing dates in AD
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gil Kirkpatrick
Sent: Monday, March 28, 2005 3:44 PM
To: [email protected]
Subject: RE: [ActiveDir] Storing dates in AD
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Isenhour, Joseph
Sent: Monday, March 28, 2005 1:15 PM
To: [email protected]
Subject: [ActiveDir] Storing dates in AD
I'm looking for some opinions on a schema extension. I need to store a date type in AD. I figure I have several options.
Store it as a long integer. To determine the date the consumer will need to count the nano seconds from a certain date (the way that pwdLastSet works)
Store it as a date type (which I've never used, and looking at the current schema it appears that most people do not choose this option).
Store it as a unicode string and come up with a format like: YYYYMMDD[ss][ss]
Does anyone have an opinion on how this should be done?
Thanks
