Converts token_expire into ruby-friendly stamp