english/libraries/joomla/database/databasequery.php
/**
	 * Get the null or zero representation of a timestamp for the database driver.
	 *
	 * @param   boolean  $quoted  Optionally wraps the null date in database quotes (true by default).
	 *
	 * @return  string  Null or zero representation of a timestamp.
	 *
	 * @since   11.1
	 */
Get the null or zero representation of a timestamp for the database driver.
@param   boolean  $quoted  Optionally wraps the null date in database quotes (true by default).

@return  string  Null or zero representation of a timestamp.


Get the null or zero representation of a timestamp for the database driver . @param boolean $quoted Optionally wraps the null date in database quotes ( true by default ) . @return string Null or zero representation of a timestamp .
public function nullDate($quoted = true)
	{
		if (!($this->db instanceof JDatabase)) {
			throw new DatabaseException('JLIB_DATABASE_ERROR_INVALID_DB_OBJECT');
		}
		$result = $this->db->getNullDate($quoted);
		if ($quoted) {
			return $this->db->quote($result);
		}
		return $result;
	}
public function nullDate ( $ quoted = true ) { if ( ! ( $ this -> db instanceof JDatabase ) ) { throw new DatabaseException ( 'JLIB_DATABASE_ERROR_INVALID_DB_OBJECT' ) ; } $ result = $ this -> db -> getNullDate ( $ quoted ) ; if ( $ quoted ) { return $ this -> db -> quote ( $ result ) ; } return $ result ; }
Get the null or zero representation of a timestamp for the database driver.
Get the null or zero representation of a timestamp for the database driver .