DateTime.Parse(myString);

jazzlearner

New Member
Messages
1
Reaction score
0
Points
1
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
 
Last edited:

xmakina

New Member
Messages
264
Reaction score
0
Points
0
Technically nothing, other than you probably want another variable to store the result of the parse ($parsed = DateTime.Parse(myString)). Of course, the string could be wrong, the DateTime object may not exist, Parse may not be a valid command and you may be writing in Java. We're going to need a lot more context than just that one line.
 
Top