>- see footer for list info -< What I really want to get back is MMM/DD/YYYY Neither the flash date functions or the TSQL DatePart() functions will return the month as a string though, very annoying.
Russ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Niklas Richardson Sent: 03 October 2005 16:16 To: Coldfusion Development Subject: Re: [CF-Dev] Flash forms date formatting >- see footer for list info -< You can use an actionscript function in the bind to format it. Or you can have a hidden column in your data grid that has the date formatted correctly. I use the latter method. On 03/10/05, Snake <[EMAIL PROTECTED]> wrote: > >- see footer for list info -< > When using the date field in a flash form, you can us ethe MASK > attribute to specify the date format, but this is not applied to the initial value. > Can you add some actionscript to the BIND attribute to do this? > > E.g. > > <cfinput type="DateField" name="expires" > bind="{getServer.currentItem.expires}" > monthnames="Jan,Feb,Mar,Apr,May,June,July,Aug,Sep,Oct,Nov,Dec" > firstdayofweek="0" label="Expiry Date" required="No" visible="Yes" > enabled="Yes" tooltip="The date that hosting for this server expires" > mask="MMM/DD/YYYY"> > > I want bind="{getServer.currentItem.expires}" > To also be formatted at MMM/DD/yyyy > > > -- > > Russ > > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go > to http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- Hosting provided by www.cfmxhosting.co.uk -< > >- Forum provided by www.fusetalk.com -< > >- DHTML Menus provided by www.APYCOM.com -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your > >help -< > -- Niklas Richardson Prismix Ltd Flex and ColdFusion Experts! _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help >-< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
