So you need to remove specific text, do you?
That might sound yoda-esque. Oh well.
< ?php $checknow ==time(); if (date($checknow) < 13) { echo 'This is before 3pm: '. date('Y-m-d') ."\n"; } elseif (date($checknow) > 13) { echo 'This is after 3pm: '. date('Y-m-d') ."\n";} ?>
Not pretty, but functional.