muneeba9071
11-28-2010, 12:38 PM
Hi,
I have a table where the date is stored as UNIXTIME. I would now want to search the database for specific dates but the problem is some of the dates are stored in the database with hours and minutes. For example the following dates are saved in the Database:
10-11-2010 04:00 PM stored as (1291046400)
When I want to search for the date 10-11-2010 I want it to show the above date, is there any built-in MySQL functions that I can use to achieve this?
Help is much appreciated. Thanks in advance
I have a table where the date is stored as UNIXTIME. I would now want to search the database for specific dates but the problem is some of the dates are stored in the database with hours and minutes. For example the following dates are saved in the Database:
10-11-2010 04:00 PM stored as (1291046400)
When I want to search for the date 10-11-2010 I want it to show the above date, is there any built-in MySQL functions that I can use to achieve this?
Help is much appreciated. Thanks in advance