src/DBOracle.php
function convertTimeZone($date, $to_tz, $from_tz = null) {
		throw new RuntimeException('Not implemented!');

		if ($to_tz instanceof DateTimeZone) {
			$to_tz = $to_tz->getName();
		}
		if ($from_tz instanceof DateTimeZone) {
			$from_tz = $from_tz->getName();
		}

		return "NEW_TIME($date, '$from_tz', '$to_tz')";
	}
function convertTimeZone($date, $to_tz, $from_tz = null) {
		throw new RuntimeException('Not implemented!');

		if ($to_tz instanceof DateTimeZone) {
			$to_tz = $to_tz->getName();
		}
		if ($from_tz instanceof DateTimeZone) {
			$from_tz = $from_tz->getName();
		}

		return "NEW_TIME($date, '$from_tz', '$to_tz')";
	}
function convertTimeZone ( $ date , $ to_tz , $ from_tz = null ) { throw new RuntimeException ( 'Not implemented!' ) ; if ( $ to_tz instanceof DateTimeZone ) { $ to_tz = $ to_tz -> getName ( ) ; } if ( $ from_tz instanceof DateTimeZone ) { $ from_tz = $ from_tz -> getName ( ) ; } return "NEW_TIME($date, '$from_tz', '$to_tz')" ; }
Returns SQL which converts the date value to its value in the target timezone

@param string $date SQL column expression
@param string|DateTimeZone $to_tz DateTimeZone or timezone id
@param string|DateTimeZone $from_tz DateTimeZone or timezone id
@return string
Returns SQL which converts the date value to its value in the target timezone