I have an access token with an expiration time. I would like to check when using my access token, does it expire within a minute.
If it does expire in less than a minute, I would like to take some action.
I am struggling to understand how I can check the date and time against the current date / time.
The exp time on my token looks like 1549103089
but using my auth lib 'AeroGearOAuth2' I can access it and print it out as 2019-02-02 10:13:48 +0000