You can use substr() to get any part of a string.
A Anonymous Guest Aug 3, 2004 #2 An example: Code: <?php $rest = substr('yyyy-mm-dd 00:00:00', 5, 2); // change the 'yyyy-mm-dd 00:00:00' with your variable echo $rest; ?>
An example: Code: <?php $rest = substr('yyyy-mm-dd 00:00:00', 5, 2); // change the 'yyyy-mm-dd 00:00:00' with your variable echo $rest; ?>