I am trying to change the ticket to POSIXct this time
t1 & lt ; -c ("19-Jun-16 06.00.00 PM") If I do this:
t1 < - as.POSIXct (t1, format = "% D-% b-% y% H:% M:% S") Will this change the stamp right now? Does he endorse AM / PM?
read ? Strptime . % p , which only works with % I , no % H . Your time format is also wrong. Your time is "." "," ":" . as.POSIXct ("19-Jun-13 06.00 00.00 PM", format = "% d-% b-% y% I.% M.% OS% p") / Code>
No comments:
Post a Comment