Hi Bill, 

Try the format attribute written as: FORMAT="datetime:%Y-%m-%d %H:%M:%S"

The "datetime:" prefix in the FORMAT value is required because there are
many different kinds of formatting available.

Hope this is what you are looking for. Cheers.....      

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
---------------------

XML-Extranet - http://xml-extra.net
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
---------------------


> -----Original Message-----
> From: Bill Conlon [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 07, 2003 4:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Witango-Talk: Format attribute -- date/time
> 
> 
> I changed TIMESTAMPFORMAT in witango.ini to the format below, 
> and now I 
> can get time stamps output the way I want.
> 
> I'll report this as a bug, since it seems to me, the attribute should 
> always override.
> 
> >I'm trying to format a timestamp for updating a MySQL record.
> >
> >When I use FORMAT="%Y-%m-%d %H:%M:%S"
> >
> >I get 
> >07/02/2003 13:06:54 instead of 
> >2003-07-02 13:06:54
> >
> >My witango.ini has DATEFORMAT=%m/%d/%Y, but I thought I 
> could override 
> >this with the format attribute.
> >
> >Any suggestions?  Witango5 on Linux.
> >
> >
> >
> >Bill Conlon
> >
> >To the Point
> >345 California Avenue Suite 2
> >Palo Alto, CA 94306
> >
> >office: 650.327.2175
> >fax:    650.329.8335
> >mobile: 650.906.9929
> >e-mail: mailto:[EMAIL PROTECTED]
> >web:    http://www.tothept.com
> >
> >
> >_____________________________________________________________
> ___________
> >TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
> >
> 
> 
> Bill Conlon
> 
> To the Point
> 345 California Avenue Suite 2
> Palo Alto, CA 94306
> 
> office: 650.327.2175
> fax:    650.329.8335
> mobile: 650.906.9929
> e-mail: mailto:[EMAIL PROTECTED]
> web:    http://www.tothept.com
> 
> 
> ______________________________________________________________
> __________
> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
> 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to