What is wrong with a line like this? DateTime.Parse(myString)
Answer Posted / rahul misra
A statement like this should be used only after making sure
that the string contains DateTime data.
e.g DateTime.Parse("3 4") will return 3rd April 2009
(current year assuming DD-MM-YYYY as the datetime format as
per the machine's settings)
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
List the types of authentication supported by asp.net?
Is asp.net web forms dead?
Where are session variables stored?
What is the significance of proxy user?
How to deploy/publish webservices?How many ways?Plz explain me
What is the use of worker process in asp.net?
What can we do with asp.net?
What is asp net application object?
What are the uses of list view control in Asp.net?
How to rename a table using sql queries?
What is the difference between CC and BCC?
What are the asp.net list controls and difference between them?
What kind of data we can store in viewstate?
Which data type does the rangevalidator control support?
What is the postback property in asp.net?