Skip to content
Prev 325902 / 398502 Next

Time of day

On 25/06/2013 06:59, Rguy wrote:
which will not parse and in any case there are no such times.
> t <- Sys.time()
 > tt <- format(t, "%H:%M")
 > tt <= "22:00" && tt >= "06:00"
[1] TRUE

Note the use of && not &.
PLEASE do: no HTML mail ....