Ray Champagne wrote: > But he is trying to convert a date from a form field that comes in like 1 > Dec 04. I agree that you don't have to create a date, but he needs to get > the date into some kind of format that LSDateFormat can understand, correct? > > I am by no means an expert, but I thought this would be the most straight > forward way.
Exactly, but to be able to pass those values to CreateDate() in the first place, he would have had to parse it himself first making the other two calls utterly redundant: he's have the date he wanted. It's nothing to do with (LS)DateFormat() and everything to do with parsing dates, ergo the use of (LS)ParseDateTime(). K. -- Keith Gaughan, Developer Digital Crew Ltd., Pembroke House, Pembroke Street, Cork, Ireland http://digital-crew.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184169 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

