For example one may wish to search for roads under construction, with known opening date that is in past (in other words - one of many possible indicators that OSM data is outdated).
[timeout:180];
(
way[highway=construction][opening_date](if:date(t[opening_date])<date("2018-2-6"))({{bbox}});
);
out body geom qt;
query is doing it (for query on overpass see http://overpass-turbo.eu/s/vUH ), but one needs to keep date updated.
How one may use current date directly?