Sorry. Here is the CFC code:
<cffunction name="getBirthDate" access="public" output="false"
returntype="string" hint="Returns this objectâs birthDate">
<cfscript>
if(Variables.birthDate neq ""){
variables.birthDate =
DateFormat(variables.birthDate,"mm/dd/yyyy");
//variables.birthDate = Year(variables.birthDate);
}
</cfscript>
<cfreturn Right(variables.birthDate,4) />
</cffunction>
<cffunction name="setBirthDate" access="public" output="false"
returntype="void" hint="Sets this objectâs birthDate">
<cfargument name="birthDate" type="date" required="true" />
<cfset variables.birthDate = arguments.birthDate />
</cffunction>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306007
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4