Time Slot calculation for 10 or 60 minute interval

Suppose a situation where you want to store data in a way like <current_time+10min> but every time current_time + 10 mins return a new value, we want to settle time in a way like a store at 00, 10, 20,30,40,50 min slot. See some example Slot for 10 minute interval 23 Oct, 2023 17:23:32 ===>…More