Jeff Salisbury wrote:
Tomasz - I believe that you will see a difference between what date>u see programmatically and what date you see in the GUI. If I remember correctly,
> if the GUI says an account expires on June 18th, using scripts to pull the expiration
> date you will actually get a date/time of 2400 (midnight) on June 17th. Assuming
> this is true, you just need to adjust you code to account for the difference.
Thanks Jeff, You are right - I just need to add one day becouse my users needs to be valid till the end of this day I put into the account property.
Shame for me :( I should think about this what is written into AD.
Thanks once again.
-- Tomasz Onyszko [MVP] [EMAIL PROTECTED] http://www.w2k.pl List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
