Skip to content

Instantly share code, notes, and snippets.

@Badbird3
Created October 13, 2022 19:23
import time
from time import gmtime
from time import strftime
print('Paste in JWT expiration time in seconds since epoch of iat:')
print('iat time = ' + time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(int(input()))))
print('Paste in JWT expiration time in seconds since epoch of exp :')
print('exp time = ' + time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(int(input()))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment