title: How to change time format from M-d-Y to Y-M-d in php?
body: <p>I am taking the input in M-d-Y format from calender but I want to convert it into Y-m-d when it store in the database. What method can I use?</p>