ODBiC Discussion Board


$dateadd fuction

by Max Steiner, September 17, 2003 06:38

Can't seem to get the $dateadd fuction to work. I'm obviously doing something wrong. Here is what I've got:

<!--SET low_dt = "2003-01-01"--> $dateadd($low_dt$,5,"YYYY-MM-DD")

I'm expecting this to display: 2003-01-06

But instead I get the following error:

ODBiC error: Invalid Date: 2003-01-01

Any help would be greatly appreciated!


Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.