Description Usage Arguments Value Examples
This is a compare function of time. It extracts the hours, minutes and seconds to check if it falls in specified time range.
1 | BetweenTime(x, interval)
|
x |
A |
interval |
A character vector of boundary values, each element should be in format
|
TRUE
or FALSE
.
1 2 3 | x <- lubridate::ymd_hms("2019-01-02 07:30:00")
flightscanner:::BetweenTime(x, c("7:30", "8:00"))
flightscanner:::BetweenTime(x, c("6:00", "7:29"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.