OK I was able to figure this out on my own.

I just used the getTime() function which returns dates in 
milliseconds since 1/1/1970, divided that result by 1000 and sent 
Unix TimeStamps.

-David

--- In [email protected], "David C. Moody" <[EMAIL PROTECTED]> 
wrote:
>
> Using AMFPHP 1.9beta2...
> 
> I have a function in an AMFPHP Service like this:
> 
>  function getEditorListing($startDate = '', $endDate = '', $type = 
1) 
> {
>   if ($startDate == '') return "StartDate Required";
>   if ($endDate == '') return "EndDate Required";
>   $startTime = strtotime($startDate . " 00:00:00");
>   $endTime = strtotime($endDate . " 23:59:59");
> NetDebug::trace($startDate);
> NetDebug::trace($startTime);
> NetDebug::trace($endDate);
> NetDebug::trace($endTime);
> }
> 
> Using the AMFPHP service browser or Flex if I send "04/20/2008" for 
> startdate & "04/22/2008" for enddate & "1" for type.
> 
> My trace show this:
> 4
> false
> 4
> false 
> 
> How can I pass Date's to AMFPHP? I've tried all combinations I know 
> of?
> 
> Thanks,
> -David
>




Reply via email to