how to make date filling