<?php
$currentTime = time();
echo "$currentTime\n";
$mydate = mktime(1,30,50,12,13,1971);
echo "$mydate\n";
//outputs 61435850 the number of seconds since 1 January 1970
$mydate = strtotime("23 OCTOBER 2014");
echo "$mydate\n";
$mydate = mktime(1,30,50,12,13,1971);
echo "$mydate\n";
$today = getdate();
print_r($today);
$mydate = strtotime("1/31/80");
echo date("D d M Y", $mydate); // outputs Thu 31 Jan 1980
$mydatetest2 = mktime(1,30,50,12,25,1986);
echo strftime("%d %B %Y", $mydatetest2);
?>