How to get date year month separate from Date php

For Example Date May 30, 2017


$startdate = May 30, 2017;

$time = strtotime($startdate);

$month = date("F",$time);

It's return month value 

$date = date("d",$time);

$year= date("Y",$time);

Related Post

Latest Post

Recent Posts Widget

Make sure to never miss a thing...

Get the latest news from the creative industry along with other creative goodies, conveniently delivered to social media.