RE: [PHP] php dateadd function?

2004-04-15 Thread Ford, Mike [LSS]
On 30 April 2004 13:23, Angelo Zanetti wrote: Hi all, I have found this code that is supposedly meant to be used for a dateadd function. I only need it for the adding of days, my problem is that it doesnt validate when adding days at the end of the month. eg: march 31 and the I add 2

RE: [PHP] php dateadd function?

2004-04-15 Thread Angelo Zanetti
]'; [EMAIL PROTECTED] Subject: RE: [PHP] php dateadd function? On 30 April 2004 13:23, Angelo Zanetti wrote: Hi all, I have found this code that is supposedly meant to be used for a dateadd function. I only need it for the adding of days, my problem is that it doesnt validate when adding days

RE: [PHP] php dateadd function?

2004-04-15 Thread Ford, Mike [LSS]
On 30 April 2004 13:45, Angelo Zanetti wrote: Hi Mike, I actually changed the return statement to return the date in a format that is different from the mktime format, so that would explain it. So run the mktime(), then format the resulting timestamp. Job done. Cheers! Mike