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
Explain how can we access static variable?
What is difference between asp state management and asp.net state management?
How would you implement inheritance using c#?
What are server activated objects?
What is loop in asp.net?
What kind of data we can store in viewstate?
5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?
How to implement globalization and localization in the use interface in .net.
What does passport and windows authentication mean in ASP.NET?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What is difference between viewstate and session state in javascript?
What is difference between viewstate and session in asp net?
How to implement role based security in asp.net mvc? : Asp.Net MVC
What is server side session?
List some of the important session state modes of asp.net.