tobyheywood
IS-IT--Management
Dear All,
I am in the process of writing a small bit of code, which will look at a date pulled in from a MySQL database and then compare it with the current date.
now I am a little unsure as to which will be the best route to take; should I do the date comparison using PHP or should I alter my MySQL query to use something like datediff()?
If anyone would like to offer some advise on this it would be greatly appreciated.
Toby Heywood
I am in the process of writing a small bit of code, which will look at a date pulled in from a MySQL database and then compare it with the current date.
now I am a little unsure as to which will be the best route to take; should I do the date comparison using PHP or should I alter my MySQL query to use something like datediff()?
If anyone would like to offer some advise on this it would be greatly appreciated.
Toby Heywood