>- see footer for list info -<
<CFIF NOT ListLen(yourdatefield, "/") EQ 3>
Error
<CFELSE>
        <CFTRY>
                <CFSET thedate =
CreateDate(Listgetat(yourdatefield,3,"/"),Listgetat(yourdatefield,2,"/")
,Listgetat(yourdatefield,1,"/"))>
        <CFCATCH>date error</CFCATCH>
        </CFTRY>
</CFIF>

Duncan's code plus a bit more

Allan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Swingewood
Sent: 06 October 2005 15:52
To: [email protected]
Subject: Re: [CF-Dev] Delimeters


>- see footer for list info -<
Ok Duncan it works great. Now I thought that this looked at poistion 3
and 
compared it to /
It obviously doesn't because it works for both delimeters which is
great.

So can you explain this little code snippet please - How is it doing
what it 
does?

Regards - Paul


_______________________________________________

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

>-<

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________

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 -<

Reply via email to