JDatabaseQuery::hour
Used to get a string to extract hour from date column.
Usage: $query->select($query->hour($query->quoteName('dateColumn')));
Signature
public function hour(string
$dateĀ )
Parameters
-
$date
- Date column containing hour to be extracted.
Returns
- string
- Returns string to extract hour from a date.