Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php current datettime us time zone

<?php
$date = new DateTime("now", new DateTimeZone('America/New_York') );
echo $date->format('Y-m-d H:i:s');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #current #datettime #time #zone
ADD COMMENT
Topic
Name
4+2 =