change application and form date(string) to date(Date)