What is wrong with a line like this? DateTime.Parse(myString)
Answer Posted / fusion
No .it can have one argument.
Eg. Response.Write(DateTime.Parse("10:50:39"))
will return you date and time.
such as 24/06/2008 10:50:39 AM
You can not simply have any irrlevant string,it should be
some string containing data or time value.
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What is new asp.net core?
Explain asp.net page life cycle?
What is the difference between a cookie and a pixel?
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
What are the differnt types of handler in ASP.NET?
What is ispostback method in asp.net?
What are the server control tags in asp.net.?
What is event bubbling?
How does session state work in asp.net?
What is a web api? Which protocol is used in a web api?
What are resource file and how do we generate resource file?
Why do we need url encoding?
What are the events that happen when a client requests an asp.net page from iis server?
Describe the method to create a permanent cookie?
A Web Service Can Only Be Written In .net. Is it True??