Displaying 1 result from an estimated 1 matches for "02s_".
Did you mean:
02s
2007 Nov 02
1
R timeDate does not allow seconds?
...ormat="%Y-%02m-%02d_%02H-%02M-%02S")
Error in if (regexpr("/....", charvec[1])[[1]] > 0) return("%m/%d/%Y") :
missing value where TRUE/FALSE needed
> inputdate = "16:20:22_2007-10-31"
> timeDate(as.character(inputdate),format="%02H:%02M:%02S_%Y-%02m-%02d")
Error in if (regexpr("/....", charvec[1])[[1]] > 0) return("%m/%d/%Y") :
missing value where TRUE/FALSE needed
> inputdate = "16-20-22_2007-10-31"
> timeDate(as.character(inputdate),format="%02H-%02M-%02S_%Y-%02m-%02d")
Err...