Posted on: 6/21/2013 4:13:06 AM | Views : 457

Help needed in the below issue.
I am converting a string to date using Convert.ToDateTime
Convert.ToDateTime(str.ToString().Substring(0, 10))
where str = "18/06/2013<br>12:21".
When I am running in my local maching I have no issues but when I am published to server and try to execute the page from server I am getting data conversion error.
I am not sure why I am getting this error only on server when it's working fine on the local machine.


...

Go to the complete details ...