code: public static function convert( $style = TS_UNIX, $ts ) {
  		try {
  			$ct = new static( $ts );
  			return $ct->getTimestamp( $style );
  		} catch ( TimestampException $e ) {
  			return false;
  		}
  	}
docs: Convert a timestamp string to a given format.
  
  @param int $style Constant Output format for timestamp
  @param string|int|float|bool $ts Timestamp
  @return string|bool Formatted timestamp or false on failure