querying date fields

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;
?>
 
Back
Top