When you are using
DateString.replace("\"","");
perhaps you should be using...
DateString = DateString.replace("\"","");
This will make a big difference because string.Replace()
returns the modified string, it doesn't modify the string you call it on.