Hey all. I need some help with some date marlarky, its probably just syntax as per usual with and i'll end up looking like a fool but who cares! ;]
Right, upon reading the mysql manual I came accross this beauty.... DATE_SUB(date, INTERVAL expr type)
So then I thought this will surely work to subtract 1 day from $row_rsJDATA['Del Date']
echo DATE_SUB($row_rsJDATA['Del Date'], INTERVAL 1 DAY);
Really what i want to achieve is to actually subtract $row_rsMATH['Time Allowed']/7 from $row_rsJDATA['Del Date'] but thought I'd ask about the first stage before getting this complex......
Anyone out there that could help would be greatly appreciated.
Cheers.