Make sure timestamp is int