Write a PHP script to get the current date/time of 'Australia/Melbourne'.
<?php date_default_timezone_set('America/Los_Angeles'); $date = date('m/d/Y h:i:s a', time()); echo $date; ?>
Sample Output:
07/11/2017 12:52:31 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