GregorianCalendar Win32Epoch = new GregorianCalendar(1601,Calendar.JANUARY,1);
Date Win32EpochDate = Win32Epoch.getTime();
//Note that 1/1/1601 will be returned as a negative value by Java
GregorianCalendar Today = new GregorianCalendar();
Date TodaysDate = Today.getTime();
long TimeSinceWin32Epoch = 10000 * (TodaysDate.getTime() - Win32EpochDate.getTime());
Calendar c=new GregorianCalendar();
c.add(Calendar.DATE, 30);
Date dateAfter30Days=c.getTime();
long TimeAfter30DaysSinceWin32Epoch = 10000 * (dateAfter30Days.getTime() - Win32EpochDate.getTime());
searchFilter = "(&(objectClass=User)(accountExpires>=" + TimeSinceWin32Epoch + ")(accountExpires<="+ TimeAfter30DaysSinceWin32Epoch+"))";
2 comments:
CA Identity Manager --- "
CA Identity Manager Online Training
Send ur Enquiry to contact@21cssindia.com
Describe CA Identity Manager
Identify the Features and Functions of CA Identity Manager
Describe the CA Identity Manager Architecture" more… Online Training- Corporate Training- IT Support U Can Reach Us On +917386622889 - +919000444287 http://www.21cssindia.com/courses/ca-identity-manager-online-training-70.html
Oracle Access Management --- "
Oracle Access Management Online Training
Send ur Enquiry to contact@21cssindia.com
Introduction to Identity and Access Management Systems
Introduction to Oracle Access Manager
Installing Oracle Access Manager Identity System" more… Online Training- Corporate Training- IT Support U Can Reach Us On +917386622889 - +919000444287 http://www.21cssindia.com/courses/oracleaccessmanagement-online-training-5.html
Post a Comment