how to conver year to dateTime format
-
hi all, In my page,I have to enter only year(eg 1999) in the textbox.but it should be inserted as datetime format in DB. how to convert year to datetime format in c#. Eg: 1999 to 1/1/1999 12:00:00 AM Plz give ur suggestions thanks in advance
cheers sangeet
-
hi all, In my page,I have to enter only year(eg 1999) in the textbox.but it should be inserted as datetime format in DB. how to convert year to datetime format in c#. Eg: 1999 to 1/1/1999 12:00:00 AM Plz give ur suggestions thanks in advance
cheers sangeet
For Every year the date and time is same ?
Thanks and Regards Sandeep If you want something you never had, do something you have never done!
-
For Every year the date and time is same ?
Thanks and Regards Sandeep If you want something you never had, do something you have never done!
Yes..all the year with same date and time. I got it by just adding Convert.ToDateTime(@"1/1/" + Year_Tbox.Text) thanks for ur reply..
cheers sangeet