I'm having difficulty in getting Flex to recognize date values that are
coming out of a Transfer object.

The object being sent to Flex is a typed struct, and it is recognized as the
correct object.

If I create the typed struct directly from a <cfquery>, the date values are
correctly typed. Charles shows, for instance, "Date Reference Nov 24, 2008
3:59:54 PM." And that value is correctly converted into a date in Flex.

But if I create the struct by calling getters on a Transfer object, the
values are typed as strings, and fail to convert in Flex.

For example, the same date above is shown in Charles as "String Reference
2008-11-24 15:59:54.047."

I've worked around it by creating date/time strings, then using
parseDateTime before returning them. But this seems a bit clunky, and I'm
wondering if there's a better solution.

Has anyone else noticed this behavior?

-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560

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

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

Reply via email to