go to post Sylvie Greverend · Jan 16, 2018 >w $System.SQL.DATEADD("d",-1,"2017-01-01")2016-12-31 00:00:00