The expiration time of my token is shown as value(currentUser.expire)
'2018-08-01T17:29:17+01:00'
I am looking to compare this with the current time.
currentUser.expire > new Date().valueOf()
new Date().valueOf()
displays as '1533110765293'
Although the format of these two values differs, how can I find the most suitable method for comparison?