Extract and format dates from a specific string format.

formatDate(x)

Arguments

x

A character string representing a date.

Value

A Date object.