I have a a postgis table with point geometries and a timestamp column, which has the information when the point was created. This table is already loaded as a layer into geoserver.
So now in Geoserver, I would like to style this layer via SLD, so that the color of the point changes by its age, i.e. the difference between the point's timestamp and the server time.
Lets say red for older than 2 years, yellow for older than 1 year, green for younger than 1 year.
Is there an approach via sld , maybe by using an environment varialble that can solve this requirement?