public function automaticDate($data)
	{
		if (!isset($data['date']))
		{
			$dt = new \Hubzero\Utility\Date('now');

			$data['date'] = $dt->toSql();
		}

		return $data['date'];
	}
public function automaticDate($data)
	{
		if (!isset($data['date']))
		{
			$dt = new \Hubzero\Utility\Date('now');

			$data['date'] = $dt->toSql();
		}

		return $data['date'];
	}
public function automaticDate ( $ data ) { if ( ! isset ( $ data [ 'date' ] ) ) { $ dt = new \ Hubzero \ Utility \ Date ( 'now' ) ; $ data [ 'date' ] = $ dt -> toSql ( ) ; } return $ data [ 'date' ] ; }
Generates automatic date value

@param   array   $data  the data being saved
@return  string
Generates automatic date value