Change timestamp to int.