Convert date and time to ISO 8601 format