Comment utiliser strptime
ou d'autres fonctions pour analyser les horodatages en millisecondes dans R?Comment analyser des millisecondes?
time[1]
# [1] "2010-01-15 13:55:23.975"
strptime(time[1], format="%Y-%m-%d %H:%M:%S.%f")
# [1] NA
strptime(time[1], format="%Y-%m-%d %H:%M:%S")
# [1] "2010-01-15 13:55:23"`
Merci, j'ai raté ça dans le document strptime. Je cherchais un personnage de format et j'ai abandonné quand je n'en ai pas vu. – signalseeker
Si je pouvais mettre un monument en votre honneur, je le ferais! – jkff
moi aussi! Le bit "% OS" est génial. –