How to display current year and month in PHP script
I need a function to display current year or month in php.
-
How to Display Current Year and Month in PHP Script
smallwei
How to display current year and month in PHP script
I need a function to display current year or month in php.
smallwei 9:08 am on November 12, 2009
You can use the date function:
$this_month = date("M");print $this_month;
-- This will display current month in short textual representation (three letters such as Jan, Feb...etc)