date convert in php practical

technical talkiess
0

 

This function convert the date to the achievement form

date convert in php practical 

<?php

$val = '2012-09-12';

$ival =date('d-m-Y',strtotime($val));

echo $ival; 


?>

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)