PHP/Development/mktime
Версия от 10:37, 26 мая 2010; (обсуждение)
Creating a Time Stamp with mktime()
<html>
<head>
<title>Creating a timestamp with mktime()</title>
</head>
<body>
<?php
$ts = mktime( 2, 30, 0, 5, 1, 1999 );
print date("m/d/y G.i:s<br>", $ts);
print "The date is ";
print date("j of F Y, \a\\t g.i a", $ts );
?>
</body>
</html>