Untitled
public php v1 · immutable<?php $time = strtotime('01:00'); $midnight =strtotime('00:00'); if ($time >= $midnight) { echo 'After midnight'; } else { echo 'Before midnight'; }?><?php $time = strtotime('01:00'); $midnight =strtotime('00:00'); if ($time >= $midnight) { echo 'After midnight'; } else { echo 'Before midnight'; }?>