allow setting the date via config