I am trying to round epoch timestamps to 5 min intervals. I was looking into Math::Round (nearest_floor) and then converting it back to real timestamps, or converting them to timestamps, zeroing out the seconds, and then just manually converting them (if min >= 0 and <5 set it to 00, >=5 and <10 set it to 05 and so on).
Has anyone already done something like this cause it feels like I am over complicating it.
Thanks in advance
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
Has anyone already done something like this cause it feels like I am over complicating it.
Thanks in advance
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;