src/Utility/Time.php
public static function convertDate($oldDateString, $newDateFormatString, $timezone = null) {
		$Date = new CakeTime($oldDateString, $timezone);
		return $Date->format($newDateFormatString);
	}
public static function convertDate($oldDateString, $newDateFormatString, $timezone = null) {
		$Date = new CakeTime($oldDateString, $timezone);
		return $Date->format($newDateFormatString);
	}
public static function convertDate ( $ oldDateString , $ newDateFormatString , $ timezone = null ) { $ Date = new CakeTime ( $ oldDateString , $ timezone ) ; return $ Date -> format ( $ newDateFormatString ) ; }
Convenience method to convert a given date

@deprecated

@param string $oldDateString
@param string $newDateFormatString
@param int|null $timezone User's timezone
@return string Formatted date
Convenience method to convert a given date