PG compliance - DATEDIFF alternative WHERE clause in OrderFilters NOTE - we may wish to add DATEDIFF function to PostgreSQL schema, it's just that this would be the FIRST database function/stored procedure added for SilverStripe. Questions are  (i) where would it go on a dev/build? (ii) is this a bad thing to do? (iii) maybe there is an alternative to DATEDIFF that would be usable for all databases? 		
PG compliance - DATEDIFF alternative WHERE clause in OrderFilters
NOTE - we may wish to add DATEDIFF function to PostgreSQL schema, it's just that this would be the FIRST database function/stored procedure added for SilverStripe.
Questions are 
(i) where would it go on a dev/build?
(ii) is this a bad thing to do?
(iii) maybe there is an alternative to DATEDIFF that would be usable for all databases?
		

webtorque7/silverstripe-shop,burnbright/silverstripe-shop,hailwood/silverstripe-shop,StephenHonor/silverstripe-shop,burnbright/silverstripe-shop,markguinn/silverstripe-shop,webtorque7/silverstripe-shop,bummzack/silverstripe-shop,burnbright/silverstripe-shop,mediabeastnz/silverstripe-shop,hpeide/silverstripe-shop,hailwood/silverstripe-shop,mediabeastnz/silverstripe-shop,mediabeastnz/silverstripe-shop,bummzack/silverstripe-shop,StephenHonor/silverstripe-shop,bummzack/silverstripe-shop,markguinn/silverstripe-shop,hailwood/silverstripe-shop,StephenHonor/silverstripe-shop,markguinn/silverstripe-shop,webtorque7/silverstripe-shop,silvershop/silvershop-core