Returns a string with the formatted version of the date. If the
string is not in the correct format,
it returns the input string, and evaluates the (error)
function. I'd like to use (error) at the end, rather
than silently returning just d, but I cannot work out how to
evaluate more than one expression one after another!
The string should be in the form dd-MMM-yyyy (one- or two-digit day, 3-character month abbreviation, four-digit year), and may include whitespace.
Type: string
Formatted into english