added a way for the model to have a string object instead of a date object for the initial value.