Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get current datetime in us chicago

$dt = new DateTime('now', new DateTimezone('America/Chicago'));
$dt->format('Y-m-d H:i:s')
 
PREVIOUS NEXT
Tagged: #php #current #datetime #chicago
ADD COMMENT
Topic
Name
6+2 =