Write a PHP script to display time in a specified timezone
<?php ini_set('date.timezone','America/New_York'); echo '<p>'.date("g:i A").'</p>'."\n"; ?>
Sample Output:
7:39 AM
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer