Have a look at the TimeDif() UDF. Easy in use and does exactly what you want/need.

TimeDiff() - calculate time difference between 2 timestamps

You can let it calculate the number of days between PasswordLastChanged from AD and today. If the outcome is more then X days send a notification the user's manager.

BTW: @ Glenn, there is a typo in title of the UDF. It says betweeen (three e’s).


Edited by Mart (2009-07-02 12:07 AM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.