Created
October 22, 2020 21:47
-
-
Save ccondry/8a60952f5a53ca068120d17154b71ede to your computer and use it in GitHub Desktop.
convert ldap time to javascript timestamp number
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function expires () { | |
return (this.adUser.accountExpires - 116444736000000000) / 10000 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment