public function getColumnValue(Row $row)
	{
		$value = parent::getColumnValue($row);

		if (!($value instanceof DateTime)) {
			/**
			 * Try to convert string to DateTime object
			 */
			try {
				$date = DateTimeHelper::tryConvertToDateTime($value);

				return $date->format($this->format);
			} catch (DataGridDateTimeHelperException $e) {
				/**
				 * Otherwise just return raw string
				 */
				return $value;
			}
		}

		return $value->format($this->format);
	}
public function getColumnValue(Row $row)
	{
		$value = parent::getColumnValue($row);

		if (!($value instanceof DateTime)) {
			/**
			 * Try to convert string to DateTime object
			 */
			try {
				$date = DateTimeHelper::tryConvertToDateTime($value);

				return $date->format($this->format);
			} catch (DataGridDateTimeHelperException $e) {
				/**
				 * Otherwise just return raw string
				 */
				return $value;
			}
		}

		return $value->format($this->format);
	}
public function getColumnValue ( Row $ row ) { $ value = parent :: getColumnValue ( $ row ) ; if ( ! ( $ value instanceof DateTime ) ) { /**
			 * Try to convert string to DateTime object
			 */ try { $ date = DateTimeHelper :: tryConvertToDateTime ( $ value ) ; return $ date -> format ( $ this -> format ) ; } catch ( DataGridDateTimeHelperException $ e ) { /**
				 * Otherwise just return raw string
				 */ return $ value ; } } return $ value -> format ( $ this -> format ) ; }
Format row item value as DateTime
@param  Row $row
@return string
Format row item value as DateTime