<?php $string = "1:00 pm"; $timestamp = (strtotime($string) > time()) ? strtotime($string) : strtotime("tomorrow " . $string); echo date("r",$timestamp);
You have javascript disabled. You will not be able to edit any code.