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 can we create a website?
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What is the use of HttpHandlers? When to use this?
Why is mvc better than asp.net?
What is jade template engine?
Is asp.net easy to learn?
How can we prepairing Interview
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
What is the difference between a multi-layer and multi-tier applications?
How is mvc different from asp.net? : Asp.Net MVC
What does the .webpart file do?
Explain model, view and controller represent in an mvc application? : asp.net mvc
What is the difference between web.config and machine.config in ASP.NET?
Explain diff. Between friend and protected friend?