
MatthewH.10249 (State of Iowa) asked a question.
How can I convert a date like "133905492000000000" found in a user profile attribute (ADaccountExpires) from Active Directory to something usable in an Okta Workflow. I want to create a workflow to that can look at users about to expire by this date and send them or their managers an email to inform them before it is too late and their account gets suspended.

Hi @MatthewH.10249 (State of Iowa),
This was an interesting one... I think I have a solution for you, though.
I had to do some research on the time format, and found this doc from MSFT as well as this StackOverflow question.
The Active Directory stores date/time values as the number of 100-nanosecond intervals that have elapsed since the 0 hour on January 1, 1601 until the date/time that is being stored. The time is always stored in Greenwich Mean Time (GMT) in the Active Directory. - from MSFT.
Based on what I found, I came up with the following:
I then attempted to validate the result using this tool, and it appears that the result is correct and in a format that you can leverage with Okta's APIs and Workflows.