I have a really easy php function that displays the current time + a certain amount of time...seen below. Is there a way to round the time to the nearest 10 minutes?
Thanks, Dave
$duration = date("hi A", strtotime("+45 minutes"))
I have a really easy php function that displays the current time + a certain amount of time...seen below. Is there a way to round the time to the nearest 10 minutes?
Thanks, Dave
$duration = date("hi A", strtotime("+45 minutes"))