method Date.toString Private Date.toString(): string Returns a string representation of a date. The format of the string depends on the locale. Return Type string