I have access_token that expires_in 2678400 and i need to check if there are week left, if true - update token. What i want to know is how to count it? What is 2678400? Month in seconds? So i need to save somewhere when i get token and then do:
date when i get token + expires_in = date when token will be invalid?