dateIsoWeekYear.php
Table of Contents
Functions
- dateIsoWeekYear() : string
- Returns the ISO week-numbering year of a given date.
Functions
dateIsoWeekYear()
Returns the ISO week-numbering year of a given date.
dateIsoWeekYear([int|string|null $date = null ]) : string
Constructs an AQL expression in the format:
DATE_ISOWEEKYEAR(date)
where date can be a numeric timestamp or an ISO 8601 date string.
Parameters
- $date : int|string|null = null
-
Numeric timestamp or ISO 8601 date string. Defaults to
DATE_NOW()if null.
Tags
Return values
string —The AQL expression returning the ISO week-numbering year.