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