Is there documentation on how to specify a localized string format other than English US for the DATESTR function?

2 views (last 30 days)
I am working with the DATESTR function and would like to use the "Local" option to specify a specific regional string format other than English US (EN_US). A documentation page with instructions would be helpful.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 22 Jul 2010
This has been incorporated into the documentation of MATLAB 7.10 (R2010a). For previous releases, read below for any additional information:
The Local option cannot be used to specify which locale you wish to have the DATESTR function use.
Rather, the presence of 'Local' as an argument in DATESTR determines whether or not your computer's local system setting is used.
If you do not specify 'Local', then the DATESTR function will return the date string in the English US (EN_US) format.
If you do specify 'Local', then the DATESTR function will use your computer's local system settings to format the date accordingly.
In Windows, you can view and edit your computer's local system setting as follows:
Start -> Settings -> Control Panel -> Regional and Language Options

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R14SP2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!