<?php $rounded = date('H:i:s', round(strtotime('16:40:34')/1800)*1800); echo $rounded;
You have javascript disabled. You will not be able to edit any code.