Display the drop-down list

time()

« tempnam | time_nanosleep »
<?php
date_default_timezone_set
(
    
? // string $timezone
);

$int time ();

// shows the date in a readable format
$date date("c"$int);
?>
Result
$int = 1493542403
$date = '2017-04-30T08:53:23+00:00'
Examples
#1 time  (/* $timezone = "UTC" */)
See also
DateTime::add, DateTime::sub, DateTimeZone::getLocation, DateTimeZone::getName, DateTimeZone::listAbbreviations, DateTimeZone::listIdentifiers, date, date_default_timezone_get, date_default_timezone_set, fileatime, filectime, filemtime, get_magic_quotes_runtime, gettimeofday, gmmktime, gmstrftime, localtime, microtime, mktime, strftime, strtotime, time_nanosleep, timezone_abbreviations_list, timezone_identifiers_list, timezone_location_get, timezone_name_from_abbr, timezone_name_get, timezone_version_get