add date to sql file