[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Keeping track of lastModifiedTime and lastModifiedBy



Sudhakar Chandra proclaimed:
> A followup question.  The modifyTimestamp returned does not seem to 
> be the standard unix epoch.  I get a value like 20010727022521Z.  I'm 
> accessing the directory using PHP's ldap functions.  How do I convert 
> the returned modifyTimestamp to the unix epoch?

Answering my own question.  modifyTimestamp is not the unix seconds
since epoch at all.  It is the date/time in the format yyyymmddhhmmssZ. 
I guess I have to parse.  Damnation!

S.
-- 
thaths at aunet.org  Compounder Without Borders 
http://www.aunet.org/thaths/