> 1.  Can ColdFusion receive this as type date or do I need to use string.

Yup

> 2.  How do I access the date in the appropriate format to send it based on
> your answer to 1.

dtStart.selectedDate

regards,
Muzak


----- Original Message ----- 
From: "Dale Fraser" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, January 08, 2008 6:07 AM
Subject: [flexcoders] Flex Date to Coldfusion


>I have a dateField
> 
> <mx:DateField formatString="DD/MM/YYYY" x="10" y="10" id="dtStart"
> showToday="true" />
> 
> And I have a ColdFusion function I wish to pass this to.
> 
> Two questions.
> 
> 1.  Can ColdFusion receive this as type date or do I need to use string.
> 
> 2.  How do I access the date in the appropriate format to send it based on
> your answer to 1.
> 
> I have been trying with the CFC having a type="date"
> 
> And then doing
> 
> conn.getEntries ('username', dtStart.selectedDate.date,
> dtEnd.selectedDate.date);
> 
> And all sorts of combos of that.
> 
> Regards
> 
> Dale Fraser



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to