overulem
06-24-2005, 08:45 AM
hi,
anyone know how to find the date difference for mysql?
i have created two fields (lastshout,datecreated)
Both of the fields are Date type.
I want to do something like...
if 24-6-2005 minus 24-5-2005
that means it is more than 30 days and i have written a script to delete inactive shoutbox.
thanks
anyone know how to find the date difference for mysql?
i have created two fields (lastshout,datecreated)
Both of the fields are Date type.
I want to do something like...
if 24-6-2005 minus 24-5-2005
that means it is more than 30 days and i have written a script to delete inactive shoutbox.
thanks
