note 10782 added to mktime
| From: | changhoon at mypinkie dot com | Date: | Mon, 22 Jan 2001 06:27:07 +0000 |
| Subject: | note 10782 added to mktime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10059@lists.php.net to get a copy of this message | ||
start date of January 1 1970 and Today Second.
############################
Function Ex)
function fGetSecond($day)
{
global $MONTH, $YEAR;
return
mktime(date("H"),date("i"),date("s"),$MONTH,$day,$YEAR);
}
Ex)
$day = date(d);
echo fGetSecond($day);
http://www.php.net/manual/en/function.mktime.php