PHP/Development/mktime

Материал из Web эксперт
Перейти к: навигация, поиск

Creating a Time Stamp with mktime()

   <source lang="html4strict">


<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
", $ts); print "The date is "; print date("j of F Y, \a\\t g.i a", $ts ); ?> </body> </html>


      </source>