I need convert the date of string format \'MM/dd/yyyy\' to datetime format \'MM/dd/yyyy\' when the system date format is \'dd/MM/yyyy\'.
try this
string dateString="05/02/2014"; DateTime txtmyDate =convert.toDateTime(dateString);