powered by
Rounds a time to the nearest day.
timeCeiling(x) timeFloor(x) timeTrunc(x)
returns a positionsCalendar object rounded to current or next day.
positionsCalendar
timeFloor
timeTrunc
round a positionsCalendar object to the beginning of the day.
timeCeiling
rounds a time to the beginning of the next day.
an object of class positionsCalendar
ceiling, floor, trunc, positionsCalendar-class
ceiling
floor
trunc
positionsCalendar-class
x <- timeDate(date(), in.format="%w %m %d %H:%M:%S %Y") timeCeiling(x) timeFloor(x)
Run the code above in your browser using DataLab