CELL to Matrix (Time/Date data)

1 vue (au cours des 30 derniers jours)
G
G le 15 Juin 2016
Commenté : G le 15 Juin 2016
Hi all,
Someone can tell me please how to convert this cells to matrix (dates) and split the date by hour and minute?
thank you!

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 15 Juin 2016
load cell2date
out=regexp(c,'\d+:\d+','match','once')
  3 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 15 Juin 2016
Modifié(e) : Azzi Abdelmalek le 15 Juin 2016
you can use datevec
out=datevec(c,'yyyy-mm-dd HH:MM:SS')
G
G le 15 Juin 2016
thank you Azzi!!!!
is what i need
kind regards

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Dates and Time dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by