change type of timestamp