Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

put the date from new york with php

$date = new DateTime();
$date->setTimezone(new DateTimeZone('America/Detroit'));
$fdate = $date->format('Y-m-d H:i:s');`
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #put #date #york #php
ADD COMMENT
Topic
Name
7+1 =