Resolve PHP date format problem
If you dont understood difference in between m-d-Y and d-m-Y format. We try to simplify the conversion process while taking a string value from input field, convert this to timestamp and again make this format suitable to mysql insertion which is (Y-m-d H:i:s) While inserting a date of birth 7th March 1990 if we type 07-03-1990. What …