Support for non-date values in input

Updated logic that reads value from input to use current date if the
input cannot be parsed. For example, when using a placeholder plugin for
older versions of IE.