Does CURDATE() support numeric addition like this? Or is the "+0" purely a casting-hack to get the right format. Its not meant as pure addition.
Yes, hav a look at http://www.mysql.com/doc/en/Date_and_time_functions.html for explaination further for addition, use date_add(curdate(), interval 1 day) or watever
i know how to add dates, that wasn't the point of the post! but thank you nonetheless! ;)
I was merely looking for clarification. If "+0" is purely a casting hack then it should be highlighted as such so people don't assume. By using "+0" does suggest its a numerical addition and therefore why stop at "0". Why not "1" etc etc etc.
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]