Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- times("23:00:00")+ times("01:00:00")
- Time in days:
- [1] 1
- 00:00:00
- times("00:00:00")- times("01:00:00")
- [1] -0.04166667
- "23:00:00"
- as.POSIXct("00:00:00", format = "%H:%M:%S", tz = "UTC")
- [1] "2017-02-07 UTC" #Not printing time. Only dates
- as.POSIXct("00:00:00", format = "%H:%M:%S", tz = "UTC") -as.POSIXct("01:00:00", format = "%H:%M:%S", tz = "UTC")
- Time difference of -1 hours
- Warning message:
- In 1:0:0 : numerical expression has 2 elements: only the first used
- as.POSIXct("23:00:00", format = "%H:%M:%S", tz = "UTC") + as.POSIXct("01:00:00", format = "%H:%M:%S", tz = "UTC")
- Error in `+.POSIXt`(as.POSIXct("23:00:00", format = "%H:%M:%S", tz = "UTC"), :
- binary '+' is not defined for "POSIXt" objects
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement