I was trying to create a table as follows,
create table table1(date1 datetime,date2 datetime);
First I tried inserting values as below,
set Culture to english from web.config file
for example if you set the culture to arabic the thime will be
22/09/2017 02:16:57 ص
and you get the error:Conversion failed when converting date and/or time from character string while inserting datetime