Get last day of month with php date.
echo date('t',strtotime('25-02-2016'));
//its return 29
echo date('t',strtotime('25-02-2015'));
//its return 28
echo date('t',strtotime('11-10-2015'));
//its return 30
Get Frist day of month.
echo date('D',strtotime('01-11-2013'));
//its return 01
Currently working in software house named Wiztech as position of Senior Web Developer, I love to share tips and techniques of programming, author of SDTuts 27 years old, I am from Karachi, Sindh, Pakistan and I am working on Web Designing and Development with Adobe Photoshop CS, HTML, CSS, JavaScript,…Read More Description