Convert expiration date to seconds from epoch