Day of the week getdate()
|
<?php $date_array = getdate(); foreach ( $date_array as $key => $val ){ print "$key = $val<br>"; } print "Today's date: $date_array[wday]"; ?>
|
|
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
PHP Function Reference -> Users Code Examples / Notes - > getdate:
- getdate
|