Change timestamp to seconds since epoch