have written a code, that is supposed to
take time and date input from the user
and convert it to datetime format
add some value to hrs and display it.
works fine, when user gives input in the default format.
but what is user enters like dd-mm-yyyy instead of mm/dd/yyyy(default)
how to tel the convert function to take care of this?
DateTime dt_calc = new DateTime();
dt_calc = Convert.ToDateTime(inputt);