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
How do you sign out from forms authentication?
Which library is used by the testers and developers to develop automated tests and create testing tools?
What is rending process in ASP.NET?
What is authorization in asp.net?
What is session start?
What is full form of asp.net?
In how many ways we can retrieve table records count?
What is the good practice to implement validations in aspx page?
How does viewstate work?
Which .NET framework supports Web API?
Can you explain one critical mapping?
When we use cookie less session? Explain its working?
Why is the standalone environment only useful during the development process?
List the asp.net validation controls?
What is the size of Get method and how much data it can store?