Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP query string

Status
Not open for further replies.

cupra

Programmer
Jun 10, 2002
2
GB
Hello Everyone,

Is it possible to refer to the current date in a query string? Or am I asking too much of a hierarchical structure ;)

Thanks

Mike
 
LDAP date fields, such as modifyTimestamp, are stored as text in the following format:
yyyymmddhhmmssZ (yes, that's a 'Z' on the end representing 'Zulu' time, a.k.a. GMT, a.k.a. UTC). So, if your search includes the filter (modifyTimestamp>=20020601120000Z) then you will find objects modified after 12:00 noon on June 1, 2002.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top