JWT Expiration as a DateTime string

You have this:

Run this:

Add-Type -path .\Microsoft.IdentityModel.Tokens.dll
[Microsoft.IdentityModel.Tokens.EpochTime]::DateTime(1541531797).ToLocalTime()

Tuesday, November 6, 2018 1:16:37 PM
comments powered by Disqus