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

2 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by