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
What do you mean by serialize?
Mention the execution process for managed code?
What are HTTP handlers in ASP.NET?
What is session mode in asp.net?
Explain significance of routing? : asp.net mvc
What is data binding in asp net?
What is a 404 redirect?
What is session and application variable in asp net?
What is asp.net mvc5? : Asp.Net MVC
Differentiate between a page theme and a global theme?
Whats the difference between abstract factory pattern and factory pattern?
What is the difference between response.redirect and server.transfer?
Which two new properties are added in asp.net 4.0 page class?
How are sessions stored?
What is the purpose of session management?