The Date object to be formatted.
OptionalnoWeekDay: booleanOptional. If true, includes the weekday in the formatted string. Default is false.
Optional. If true, includes the time in the formatted string. Default is false.
A formatted Persian date string. If the date is invalid, returns '--/--/----'.
Generates a formatted Persian date string from a given Date object.