search for: truncinterval

Displaying 1 result from an estimated 1 matches for "truncinterval".

Did you mean: run_interval
2011 May 09
2
Round down to earliest hour or half hour
I have times and would like to round down to the earliest 30 minute increment. For instance, a time of 2011-04-28 09:02:00 (the as.numeric value = 1303999320) I would like it to be rounded down to: 2011-04-28 09:00:00 (the as.numeric value = 1303999200) Any ideas of how to do this? ----- In theory, practice and theory are the same. In practice, they are not - Albert Einstein -- View this