Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is microsoft windows sharepoint services?

1125


What is the good practice to implement validations in aspx page?

1170


What is the function of new view engine in asp.net? : asp.net mvc

1054


What are the major built-in objects in ASP.NET?

1143


Define a static class?

1031


Where web.config file is used?

1148


Explain the differences between managed and unmanaged code?

1107


What do you mean by query string?

985


What is slidemaster?

999


What is the purpose of url encoding?

1025


What is the difference between web config and machine config files?

1062


Which adapter should you use, if you want to get the data from an access database?

1024


What is difference between session and cookies in asp net?

1109


What are the differnt types of handler in ASP.NET?

1024


What are server activated objects?

1219