I am taking a user input from html form and save it to php variable but it\'s in string format and when i convert it into object of DateTime it is
string
DateTime