Way to import time series date string as mm-dd-yyyy
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
My data is in the format of mm-dd-yyyy hh:mm:ss however it seems like the time series import tool will only import dates & time data if the format is in dd-mmm-yyyy hh:mm:ss
1 comentario
Jan
el 20 de Sept. de 2011
What exactly is your question? Can you post the type of the available input and wanted output?
Respuesta aceptada
Jan
el 20 de Sept. de 2011
You can convert the data manually:
S1 = '07-12-2011 13:14:15'
D = datenum(S1, 'mm-dd-yyyy HH:MM:SS');
S2 = datestr(D, 'dd-mmm-yyyy HH:MM:SS')
0 comentarios
Más respuestas (2)
Chris
el 20 de Sept. de 2011
2 comentarios
Fangjun Jiang
el 20 de Sept. de 2011
Time series supports all the data format. What tsimport tool are you using?
Ver también
Categorías
Más información sobre Dates and Time en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!