Change type of timestamps to int