Tim, thanks again for you help. I¹m still learning to use AMFPHP and
understand what you are saying. My application is rather simple in terms of
showing/hiding certain elements from the user at defined times.

However this appears to work perfectly!

return item.Date_Collected == dfconv.format(getdate.text).toString();

The getdate.text is the text string returned from the DateField and includes
the formatting. Works as required, so I¹ll take it.

Cheers,

-- 
Blair 





From: Tim Hoff <[EMAIL PROTECTED]>
Reply-To: <[email protected]>
Date: Sat, 25 Oct 2008 01:28:37 -0000
To: <[email protected]>
Subject: [flexcoders] Re: Help: filterFunction and Dates

 
 


See how messy this gets; when dates are represented as strings.  Look
into AMFPHP serialization/deserialization.  If you get back a date,
instead of a sting, you don't have to jump through these hoops.   I only
say this because the amount of time it takes to setup the integration is
sometimes less than the time it takes to hack the application into
submission. :)

Glad that you have a working solution.

-TH


Reply via email to