What error messages do you get when you use date()?

2009/10/1 MSFXX <[email protected]>

>
> I would like to create a date variable like this:
>
> $thedate = date("d-m");
>
> outputting something like "01-10"
>
> This works fine within my PHP class however when I use it within the
> ZendFramework it breaks :(
>
> There is nothing wrong with the other code within the class because if I
> hardcode the date to:
>
> $thedate = "01-10";
>
> then it all works fine when using the Zend Framework so the call to
> date("d-m") is breaking my class... anyone know why? :(
> --
> View this message in context:
> http://www.nabble.com/Zend-AMF-breaks-php-date%28..%29-function-tp25696851p25696851.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to