timeCeiling | R Documentation |
Rounds a time to the nearest day.
timeCeiling(x)
timeFloor(x)
timeTrunc(x)
x |
an object of class |
returns a positionsCalendar
object rounded to current or next day.
timeFloor and timeTrunc |
round a |
timeCeiling |
rounds a time to the beginning of the next day. |
ceiling
, floor
, trunc
, positionsCalendar-class
x <- timeDate(date(), in.format="%w %m %d %H:%M:%S %Y")
timeCeiling(x)
timeFloor(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.