JDatabaseQuery::nullDate
Get the null or zero representation of a timestamp for the database driver.
This method is provided for use where the query object is passed to a function for modification. If you have direct access to the database object, it is recommended you use the nullDate method directly. Usage: $query->where('modified_date <> '.$query->nullDate());
Signature
public function nullDate([boolean
$quoted = true] )
Parameters
-
$quoted
- Optionally wraps the null date in database quotes (true by default).
Returns
- string
- Null or zero representation of a timestamp.