public function created($as='')
	{
		$as = strtolower($as);

		if ($as == 'date')
		{
			return Date::of($this->get('created'))->toLocal(Lang::txt('DATE_FORMAT_HZ1'));
		}

		if ($as == 'time')
		{
			return Date::of($this->get('created'))->toLocal(Lang::txt('TIME_FORMAT_HZ1'));
		}

		return $this->get('created');
	}
public function created($as='')
	{
		$as = strtolower($as);

		if ($as == 'date')
		{
			return Date::of($this->get('created'))->toLocal(Lang::txt('DATE_FORMAT_HZ1'));
		}

		if ($as == 'time')
		{
			return Date::of($this->get('created'))->toLocal(Lang::txt('TIME_FORMAT_HZ1'));
		}

		return $this->get('created');
	}
public function created ( $ as = '' ) { $ as = strtolower ( $ as ) ; if ( $ as == 'date' ) { return Date :: of ( $ this -> get ( 'created' ) ) -> toLocal ( Lang :: txt ( 'DATE_FORMAT_HZ1' ) ) ; } if ( $ as == 'time' ) { return Date :: of ( $ this -> get ( 'created' ) ) -> toLocal ( Lang :: txt ( 'TIME_FORMAT_HZ1' ) ) ; } return $ this -> get ( 'created' ) ; }
Return a formatted Created timestamp

@param   string  $as  What data to return
@return  string
Return a formatted Created timestamp