regional parameters date format
Mostrar comentarios más antiguos
Hi,
I would like to know if it's possible in Matlab to know the curent regional parameter for the date.
I want use the function: datenum(time_array_string,'dd/mm/yyyy HH:MM:SS') But I'm working with french and US users, so we can have: 'dd/mm/yyyy HH:MM:SS') or 'mm/dd/yyyy HH:MM:SS') That's why I want check the regional parameters to know the date format.
Thanks by advance, Noura Chabane
Respuestas (3)
Sean de Wolski
el 16 de Jul. de 2012
Would time zone info be enough?
java.util.Date
Jan
el 16 de Jul. de 2012
Get the current language:
get(0, 'Language');
This allows to recognize Japanese users, who run Matlab in their home language during a visit in a French institute in Greenland.
Noura
el 16 de Jul. de 2012
0 votos
Categorías
Más información sobre Dates and Time en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!