I'm hoping someone on the list has run into a problem similar to this one before.
I have a variable that contains a date formatted as DD-MON-YY, and I need to get a
numeric value for the month. It seems that Tango will return a numeric value if I
format my date as DD-Mon-YY, but I don't want to do that for other reasons.
When I use:
<p><@FORMAT STR="01-Jul-02" FORMAT="datetime:%m" INFORMAT="datetime:%d-%b-%y"></p>
I get '07', which is what I want.
When I use:
<p><@FORMAT STR="<01-JUL-02>" FORMAT="datetime:%m" INFORMAT="datetime:%d-%b-%y"></p>
I get '01-JUL-02' and an error telling me the string format is bad.
Any ideas to get around this problem?
----------------
Shannon Henderson
Web and System Services
Reed College
Portland, OR
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body