Doctrine\DBAL\Platforms\OraclePlatform::getDateDiffExpression
{@inheritDoc}
Note: Since Oracle timestamp differences are calculated down to the microsecond we have to truncate them to the difference in days. This is obviously a restriction of the original functionality, but we need to make this a portable function.
Signature
public function getDateDiffExpression(
$date1,
$date2 )
Parameters
$date1
—$date2
—