src/User/Model/User.php
public function getDateBorn(UserEntity $user, $sm)
	{
    	$dateFormatter = new \IntlDateFormatter(
			\Locale::getDefault(),
			\IntlDateFormatter::NONE,
			\IntlDateFormatter::NONE,
			\date_default_timezone_get(),
			\IntlDateFormatter::GREGORIAN,
			"dd MMMM YYYY"
    	);
		$date = $user->getDateBorn();
		
		return $dateFormatter->format($date);
	}
public function getDateBorn(UserEntity $user, $sm)
	{
    	$dateFormatter = new \IntlDateFormatter(
			\Locale::getDefault(),
			\IntlDateFormatter::NONE,
			\IntlDateFormatter::NONE,
			\date_default_timezone_get(),
			\IntlDateFormatter::GREGORIAN,
			"dd MMMM YYYY"
    	);
		$date = $user->getDateBorn();
		
		return $dateFormatter->format($date);
	}
public function getDateBorn ( UserEntity $ user , $ sm ) { $ dateFormatter = new \ IntlDateFormatter ( \ Locale :: getDefault ( ) , \ IntlDateFormatter :: NONE , \ IntlDateFormatter :: NONE , \ date_default_timezone_get ( ) , \ IntlDateFormatter :: GREGORIAN , "dd MMMM YYYY" ) ; $ date = $ user -> getDateBorn ( ) ; return $ dateFormatter -> format ( $ date ) ; }
Get the user birth date using format dd MMMM YYYY

@param UserEntity $user
@param unknown $sm
@return string
Get the user birth date using format dd MMMM YYYY