Print hour<-() result (#531)

This commit is contained in:
Luke Smith
2017-05-03 07:42:23 -05:00
committed by Hadley Wickham
parent 5b3ea786c8
commit 4649b8737d

View File

@@ -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.