How to convert this string to a datetime?
Afficher commentaires plus anciens
Hi! Unfortunately, MATLAB is not allowing me to convert this series of strings of date to a datetime series. Can anyone please help?
D = ['2003/06/24'
'2003/07/10'
'2003/07/10'
'2003/07/10'
'2003/07/18'
'2003/07/26'
'2003/08/03'
'2003/08/11'
'2003/08/19'
'2003/08/27'];
Any feedback will be greatly appreciated!
2 commentaires
Steven Lord
le 14 Déc 2022
Can you show the command you're using to try to perform this conversion and describe what "not allowing" means in this context?
- Do you receive warning and/or error messages? If so the full and exact text of those messages (all the text displayed in orange and/or red in the Command Window) may be useful in determining what's going on and how to avoid the warning and/or error.
- Does it do something different than what you expected? If so, what did it do and what did you expect it to do?
- Did MATLAB crash? If so please send the crash log file (with a description of what you were running or doing in MATLAB when the crash occured) to Technical Support so we can investigate.
Ashfaq Ahmed
le 14 Déc 2022
Modifié(e) : Ashfaq Ahmed
le 14 Déc 2022
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Downloads dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!