<html>
<body>
// Print the array from getdate()
print_r(getdate());
echo "<br><br>";
// Return date/time info of a timestamp; then format the output
$mydate=getdate(date("U"));
echo "$mydate[weekday], $mydate[month] $mydate[mday], $mydate[year]";
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_getdate by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:50:58 GMT -->
</html>