Displaying 1 result from an estimated 1 matches for "22_2007".
Did you mean:
22092007
2007 Nov 02
1
R timeDate does not allow seconds?
...nputdate = "2007-10-31_16-20-22"
> timeDate(as.character(inputdate),format="%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"
> timeD...