presumably, which function you need to use depends on some
condition...
so you can just use a <cfif> or <cfswitch> block
to check the condition
and use appropriate function...
you can even encapsulate it into your own function that uses
built-in cf
functions depending on some other argument passed.
e.g:
<cffunction name="myveryowndatefunction">
<cfargument name="mydate" required="yes">
<cfargument name='myotherargument" required="yes">
<cfif arguments.myotherargument eq something>
<cfreturn use_one_cf_function>
<cfelseif ...>
<cfreturn use_other_cf_function
<cfelse>
<cfreturn use_yet_another_cf_function>
</cfif>
</cffunction>
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/