Plus your doing a dateformat on it, its not needed, keep it as a date object in the setter
Regards Dale Fraser http://dale.fraser.id.au http://cfmldocs.com <http://cfmldocs.com/> http://learncf.com http://flexcf.com From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Mike Kear Sent: Wednesday, 9 June 2010 2:15 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Re: Odd date behaviour - CF9/SQLServer2005 This is the code for the getter and setter involved: <cffunction name="setTransDate" access="public" returntype="void" output="false"> <cfargument name="TransDate" type="string" required="true" /> <cfif isDate(arguments.TransDate)> <cfset arguments.TransDate = dateformat(arguments.TransDate,"DD/MM/YYYY") /> </cfif> <cfset variables.instance.TransDate = arguments.TransDate /> </cffunction> <cffunction name="getTransDate" access="public" returntype="string" output="false"> <cfreturn variables.instance.TransDate /> </cffunction> This is generated by the Rooibos code written by P Farrell On Wed, Jun 9, 2010 at 2:07 PM, Sean Corfield <seancorfi...@gmail.com> wrote: What do the methods setTransDate() and getTransDate() look like? Is there a declared property behind them? If so, what does that look like? Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.