Title: Re: Witango-Talk:  isdate question
Look in your config taf and see if you have the date default format set different sounds like that is the issue.

on 5/23/02 5:28 PM, Gutman, Larry at [EMAIL PROTECTED] wrote:

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>

 



--
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
215-799-0192
610-256-2843
Fax 413-410-9682
FMP,Tango, EDI,SQL 7
[EMAIL PROTECTED]
www.dss-db.com

Reply via email to