Active Directory date long integer pwdLastSet conversion

Is there a way to convert this long integer value (pwdLastSet) from AD into a readable date using an iRule?

Hi Steve,

The pwdLastSet value is basically the number of 100 nanosecond intervals since January 1, 1601 (UTC). So yes, there is a way.

The following probably isn’t fully ‘copy-pastable’ to an iRule, but it’ll give you the idea:

http://wiki.tcl.tk/1827

Greets,

Thomas Schockaert