Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

combine date and time in php

$combinedDT = date('Y-m-d H:i:s', strtotime("$date $time"));
                                            ^           ^
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #combine #date #time #php
ADD COMMENT
Topic
Name
5+7 =