add curdate in setting