Blog Details

Seprate date, time from datetime



                                

$createdatetime='2013-07-22 08:07:40'; $datetime = new DateTime($createdatetime); $createdate = $datetime->format('Y-m-d'); $createtime = $datetime->format('H:i:s');


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