Formats a Date object into a date string.
The Date object.
Optional
The separator to use in the date string.
The formatted date string.
Formats a Date object into a date string.