Historians believe that in 2002-03-27 [EMAIL PROTECTED] wrote: > Date: Wed, 27 Mar 2002 15:21:37 -0700 > From: [EMAIL PROTECTED] > Reply-To: [EMAIL PROTECTED] > To: CF-Talk <[EMAIL PROTECTED]> > Subject: date massaging > > Anyone care to help out a brain-fried guy? > > I need to know how to convert strings, like the following: 03172002, into a valid >date ( 03/17/2002).
<cfset x = "03172002"> <cfset y = createDate(mid(x,5,4),mid(x,1,2),mid(x,3,2))> <cfoutput> #dateFormat(y,"mm/dd/yyyy")# </cfoutput> > Thanks in advance. > > Nick Joao Macaiba. > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

