public function formatLocalized($format, $encoding = 'UTF-8')
	{
		$str = strftime($format, $this->getTimestamp());
		if ($encoding == 'UTF-8') {
			$str = utf8_encode($str);
		}
		return $str;
	}
public function formatLocalized($format, $encoding = 'UTF-8')
	{
		$str = strftime($format, $this->getTimestamp());
		if ($encoding == 'UTF-8') {
			$str = utf8_encode($str);
		}
		return $str;
	}
public function formatLocalized ( $ format , $ encoding = 'UTF-8' ) { $ str = strftime ( $ format , $ this -> getTimestamp ( ) ) ; if ( $ encoding == 'UTF-8' ) { $ str = utf8_encode ( $ str ) ; } return $ str ; }
Returns a string representation according to locale settings.

@link http://php.net/manual/en/function.strftime.php
@link http://php.net/manual/en/class.datetime.php

@param  string  $format    A format string containing specifiers like <code>%a</code>,
<code>%B</code> etc.
@param  string  $encoding  For example 'UTF-8', 'ISO-8859-1'.
@return string
Returns a string representation according to locale settings .