Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php extract month and year from date

$time=strtotime($dateValue);
$month=date("F",$time);
$year=date("Y",$time);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #extract #month #year #date
ADD COMMENT
Topic
Name
5+6 =