PHP Time: get next minute/hour what's divisible by five

Viewed 198

I need a code what detect the current time and give me the following time what is divisible by five.

For example: It's: 06 03, 2017 21:22:23 , give me 06 03, 2017 21:25:00 in php. I have no any idea to starting. Is there any code or solution to do this?

2 Answers
Related