*Parameters*

`datePattern`::
A valid date pattern

`dateString`::
A string representing a date
