Blog Details

strtotime() to date() format in php


                                
                                    <?php

$date = 1349733600;

echo $time = date("Y-m-d",$date);

 

//output :2012-10-09

?>

 

 
                                    


Categories

Core_PHP

Latest posts

13.05.14
Implementing CRUD Operations ΒΆ

<ul> <li>Now comes the fun part. We would like t

13.05.14
View

<ol> <li><a href="http://www.yiiframework.com/do

13.05.14
Creating Model

<ol> <li><a href="http://www.yiiframework.com/do

Get Free Quote