hello all! i have a mySql dayabase where i store a date in a field called: addDate. the field type is datetime
i want my php scripts to check if the current date&time is 3 hours later then the date in the database.
how can i do that?
You can use the date and time functions in the mysql database for this - see here for more details.
tanks a lot i read that tutorial already, but it doesn't say anything about counting the hours.
it's great for days
OK - try this one... date and time functions Might be a little more helpful