QEHNick Posted June 17, 2022 Posted June 17, 2022 Good afternoon. I am attempting to run a report to determine if an active directory account is about to expire based on a custom attribute which is imported from the accountExpires attribute. The problem is, the "LDAP Timestamp to Date & Time" conversion produces a date which is backwards (2022-06-03 00:00:00 for example). This makes it impossible to report on in any automatic way using the built in reporting variables ({{DATE:startofweek}} AND {{DATE:endofweek}} etc.) Is my only option to "freehand" it in the SQL Schema Designer and MacGyver some conversion of the date there?
QEHNick Posted June 17, 2022 Author Posted June 17, 2022 Am I being bananas here? Does it need converting to another format or am I suffering from the heat?
Steve Giller Posted June 17, 2022 Posted June 17, 2022 What Custom Attribute (in what table) are you storing it in? That is the standard format for a DateTime - for example if you filter on Date Logged against {{DATE:startofweek}} this works fine and that is stored in the same format. It may simply be that you need to store it in a DateTime field.
QEHNick Posted June 17, 2022 Author Posted June 17, 2022 Yeah I'm going bananas. Forget everything I said.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now