Er, maybe I stand corrected. You're right, you can use pass bare
strings to DateAdd() and family. On my last big Transfer project a few
months ago where I was using lots of datetime columns I felt like I
kept running into issues with converting from string -> Date but maybe
I was totally wrong. Entirely likely!

Thanks Mark!

On Mon, Mar 8, 2010 at 12:32 PM, Mark Mandel <mark.man...@gmail.com> wrote:
> Why can't you DateAdd(), DateFormat() them? It all still works?
>
> Mark
>
> On Tue, Mar 9, 2010 at 7:22 AM, Cody Caughlan <tool...@gmail.com> wrote:
>>
>> To manipulate dates, either to add/subtract time from them and/or
>> format them differently.
>>
>> On Mon, Mar 8, 2010 at 12:16 PM, Elliott Sprehn <espr...@gmail.com> wrote:
>> > On Mar 8, 12:09 pm, "Louis B." <louis.bra...@pixeltex.com> wrote:
>> >> Hi there....
>> >> I've some problems with Date properties returned as a string (using
>> >> Railo 3.1 and Transfer trunk).
>> >>
>> >> The property is correctly defined as:
>> >> <property name="myDate" type="date" nullable="true" />
>> >>
>> >> When I cfdump obj.getMyDate() I get a string returned instead of a
>> >> date object. I've tried to write a decorator which in turn returns a
>> >> ParseDateTime(getMyDate()). This works, but not for
>> >> getPropertyMemento(). It seems that getPropertyMemento() doesn't call
>> >> decorator getters.
>> >>
>> >> Anyone of you know how to get date objects for all date properties
>> >> returned?
>> >
>> > Why do you need date objects? CF should automatically handle dates for
>> > you in almost all cases. Curious where you're seeing issues with the
>> > date being a string.
>> >
>> > --
>> > Before posting questions to the group please read:
>> >
>> > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
>> >
>> > Try out the new Transfer ORM Custom Google Search:
>> > http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
>> >
>> > You received this message because you are subscribed to the Google
>> > Groups "transfer-dev" group.
>> > To post to this group, send email to transfer-dev@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > transfer-dev+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/transfer-dev?hl=en
>> >
>>
>> --
>> Before posting questions to the group please read:
>>
>> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
>>
>> Try out the new Transfer ORM Custom Google Search:
>> http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
>>
>> You received this message because you are subscribed to the Google Groups
>> "transfer-dev" group.
>> To post to this group, send email to transfer-dev@googlegroups.com
>> To unsubscribe from this group, send email to
>> transfer-dev+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/transfer-dev?hl=en
>
>
>
> --
> E: mark.man...@gmail.com
> T: http://www.twitter.com/neurotic
> W: www.compoundtheory.com
>
> Hands-on ColdFusion ORM Training @ cf.Objective() 2010
> www.ColdFusionOrmTraining.com/
>
> --
> Before posting questions to the group please read:
> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
>
> Try out the new Transfer ORM Custom Google Search:
> http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
>
> You received this message because you are subscribed to the Google Groups
> "transfer-dev" group.
> To post to this group, send email to transfer-dev@googlegroups.com
> To unsubscribe from this group, send email to
> transfer-dev+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/transfer-dev?hl=en
>

-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en

Reply via email to