Start of changing time to timestamps