For Pankaj Gupta
Web Development
1
Posts
1
Posters
0
Views
1
Watching
-
TextBox1.text= Date from test box var test=Convert.ToDateTime(TextBox1).ToString("YYYY/MM/DD") Send me reply soon if it solve ur purpose or string Test=Convert.ToDateTime(todayDate).ToString("yyyy/MM/dd"); OR DateTime Fdate =Convert.ToDateTime(dateText.Trim()); string TempDate1 = string.Format("{0:yyyy/MM/dd}", Fdate); Fdate =Convert.ToDateTime(TempDate1); Rizwan Afsar Associate Member, Technical Team IAP Company Ltd, Gurgaon INDIA www.iap-online.com -- modified at 3:48 Thursday 20th April, 2006