hello Coders,
I have this sql query that fetch 30 days of records from Database.
SELECT `col1`,`date` FROM `table` WHERE `date` BETWEEN CURDATE() - INTERVAL 31 DAY AND CURDATE()
works good with one exception, it will not obey [php]date_default_timezone_set(‘US/Eastern’);[/php]
and my server and my local time is way too far in time.