Hy,

$date = new Zend_Date();
utf8-decode($date->get(Zend_Date::MONTH));

or extend Zend_Date to return the encoding you wish...

class My_Date extends Zend_Date {
   public function getdecoded($param)
   {
       return utf8_decode($this->get($param));
   }
}

Greetings
Thomas

----- Original Message ----- From: "A. Maerzke - STONE Software Solutions GmbH" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, July 24, 2007 12:52 PM
Subject: [fw-general] Problems with Zend_Date


Hello together,

I use a code like this:

$date = new Zend_Date();
$date->get(Zend_Date::MONTH); // this returns a utf-8 encoded value

How can get the utf8_decode values by default?


Best regards

Aycko


Reply via email to