Here is a script (for a special case ) to display a date in a custom language and format.
The idea is if the user is using a browser (for example in English) and you want to display the dates in another language.
The return date is in text format, therefore intended for display.
You can also display only the day or the month or the day and date,….
This can be used for multi-language applications.