Examples for 'lubridate::hour'


Get/set hours component of a date-time

Aliases: hour hour<-

Keywords: chron manip methods utilities

### ** Examples

x <- ymd("2012-03-26")
hour(x)
[1] 0
hour(x) <- 1
hour(x) <- 25
hour(x) > 2
[1] FALSE

[Package lubridate version 1.8.0 Index]