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

조회 수: 2 (최근 30일)
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.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2010년 7월 22일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품


릴리스

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by