switch conversions from Timestamp to Date