date_extract_y(...)Extracts the year as an integer.
Works with the following datatypes:
This function works with 2.1 and 3.0 endpoint(s). What does this mean? »
The date_extract_y(...) function is used in the $select, $where, or $group parameters to extract Floating Timestamps the year as an integer. For example, date_extract_y('2013-10-24T09:33:00.000') would result in 2013. This is handy for aggregation & display usages. For example, to aggregate the Chicago Crimes dataset by year:
The TryIt macro has been disabled until future notice while we upgrade this site to SODA3.