I don't mean to solve my own problem here but I could do this:

<cfif isNumeric(value)>
    <cfif isNumericDate(value>
         do stuff
    <cfelse>
         do other stuff
    </cfif>
<cfelse>
    do something else all together
</cfif>

This just seems like a very long winded way of doing things. Is there a
better way?

thanks again,
Vaughan





>btw, I know that I can use isNumericDate to find out if I have a Julian
Date
>but what if I don't know whether the value I'm passing in is a string or
>date? how then do I find out?
>
>thanks,
>vaughan
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
>
>Archives: http://www.mail-archive.com/[email protected]/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to