DateTime.Parse(myString)

Hi All,
Can any one tell me,What’s wrong with a line like this? DateTime.Parse(myString);

I will highly appreciate your feed back

Thanks In Advance!

Jazz

www.intelcs.com
Phone: (212) 736-3333

Hi,

Nothing wrong in the statement. But you have to clear in your requirements. Just looking at this statement, we can’t say anything otherthan the statement is correct.

Arun

what is the value of myString and what do you get returned once you’ve parsed the string

I’m guessing you are getting an error? What is it? The string can’t be null or empty.