I am having a problem with the <@ISDATE> tag. I have 3 servers. The first server has no problem with the following code. The other 2 servers have problems. The other 2 servers see the dates I enter as always being bad. I enter 01/01/2001 and it converts it to 2001-01-01 and passes it to the isdate function. Could this be caused by some system setting?
Thanks
Larry Gutman
<@ASSIGN name="local$temp_StartDate" value='<@FORMAT FORMAT="datetime:%Y-%m-%d" INFORMAT="datetime:%m/%d/%Y" STR="<@ARG start_date>">'>
<@ASSIGN name="local$temp_EndDate" value='<@FORMAT FORMAT="datetime:%Y-%m-%d" INFORMAT="datetime:%m/%d/%Y" STR="<@ARG end_date>">'>
<@IF !<@ISDATE @@local$temp_StartDate>>
<@ADDROWS ARRAY=local$error_Messages VALUE="Start Date" POSITION="-1">
</@if>
<@IF !<@ISDATE @@local$temp_EndDate>>
<@ADDROWS ARRAY=local$error_Messages VALUE="End Date" POSITION="-1">
</@if>
