DateTime.getWeekNumberingYear

Returns the ISO 8601 week-numbering year in which the week containing datetime falls. This function, taken together with g_date_time_get_week_of_year() and g_date_time_get_day_of_week() can be used to determine the full ISO week date on which datetime falls. This is usually equal to the normal Gregorian year (as returned by Since 2.26

class DateTime
int
getWeekNumberingYear
()

Return Value

Type: int

the ISO 8601 week-numbering year for datetime

Meta