I have a time column in the format of 00:00 00:30 01:00.
I want to subset to certain hours but I don't understand how to convert it to the right format
for the date i used as.date() is there someting similar?
I have a time column in the format of 00:00 00:30 01:00.
I want to subset to certain hours but I don't understand how to convert it to the right format
for the date i used as.date() is there someting similar?
hi
i am sorry i got it i used the strptime and strftime functions like so:
strftime(strptime(x, format="%H:%M"),"%H")