Hi Guys
I need to convert this
1247918400
into this format
2010-07-15 00:00:00
Many thanks in advance
Hi Guys
I need to convert this
1247918400
into this format
2010-07-15 00:00:00
Many thanks in advance
What are expecting? strtotime is not required here.
<?php
echo date('Y-m-d H:i:s', 1247918400); #2009-07-18 13:00:00
?>
I done this but its not displaying the correct date
$Date_Of_Actual_Booking=date("Y-m-d H:i:s", strtotime("$i"));
See [fphp]date/fphp