So I have this:
(CURDATE() BETWEEN start_date AND end_date)
Works fine.
But when the CURDATE() is 2011-12-02 and th
CURDATE()
cast (end_date - Start_date as double precision) * 86400