Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

separate date from datetime php

$time = new DateTime("2011-08-04 15:00:01");
$date = $time->format('n.j.Y');
$time = $time->format('H:i');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #separate #date #datetime #php
ADD COMMENT
Topic
Name
4+3 =