Acquiring Date Information with getdate()
|
<html> <head> <title>Acquiring date information with getdate()</title> </head> <body> <?php $date_array = getdate(); foreach ( $date_array as $key => $val ){ print "$key = $val<br>"; } ?> <hr> <? print "Today's date: $date_array[mday]/$date_array[mon]/$date_array[year]<p>"; ?> </body> </html>
|
|
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
PHP Function Reference -> Users Code Examples / Notes - > getdate:
- getdate
|