Is there documentation on how to specify a localized string format other than English US for the DATESTR function?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
Respuesta aceptada
MathWorks Support Team
el 22 de Jul. de 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
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!