Mega Code Archive

 
Categories / Php / Data Type
 

Display year an individual was born

<?php  $expdate = explode ("-","1979-06-23");  echo $expdate[0] . ","; echo $expdate[0];  ?>