From 4649b8737d818e8e61b959168f91d08d22c70c1e Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 3 May 2017 07:42:23 -0500 Subject: [PATCH] Print `hour<-`() result (#531) --- datetimes.Rmd | 1 + 1 file changed, 1 insertion(+) diff --git a/datetimes.Rmd b/datetimes.Rmd index cb8971a..c49eb0b 100644 --- a/datetimes.Rmd +++ b/datetimes.Rmd @@ -270,6 +270,7 @@ datetime month(datetime) <- 01 datetime hour(datetime) <- hour(datetime) + 1 +datetime ``` Alternatively, rather than modifying in place, you can create a new date-time with `update()`. This also allows you to set multiple values at once.