sandshakimi
asked on
Date and Time PHP Code?
I've go this:
<?php date_default_timezone_set( 'UTC'); echo date('l, F d, Y'); ?>
but it's showing up day forward.
How can I get current USA, New York timezone?
<?php date_default_timezone_set(
but it's showing up day forward.
How can I get current USA, New York timezone?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_201-Handling-date-and-time-in-PHP-and-MySQL.html