I am assuming ParseDateTime() cannot be used here.




"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Ray Champagne
To: CF-Talk
Sent: Fri Jun 15 17:04:45 2007
Subject: converting a string to a date - most efficient way?

So, I have a file that I am uploading that contains a string that represents
the date, and I need to extract the date from the filename.  I have the
extraction down to a string that looks like MMDDYY (ex: 120507) and I need
to turn that into an ODBC date in the most efficient way possible.

 

I've got a few ideas, but they all basically suck.  Any takers?

 

--

Ray Champagne

Web Developer, Dolan Media Company

612.215.6497 :: 612.718.8852 (m)

ray.champagne [at] dolanmedia [dot] com

GTalk: raychampagne

 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281303
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to