--MS_Mac_OE_3066812333_145812_MIME_Part Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit When I want to subtract a day from a date, and pass the date to a function that will do the subtraction and then return the new value, so why does php sometimes subtract the year, instead of the day? I say sometimes, because I have other identical functions that work perfectly. Does php not pass the data type along with the variable? function subtract_a_day($datetoget) { $datetoget=($datetoget-1); return_date($datetoget); } --MS_Mac_OE_3066812333_145812_MIME_Part--

Reply via email to