session["StartDate"] = 09/10/2011; string abc = Session["StartDate"].ToString(); DateTime xyz = Convert.ToDateTime(abc); string dayofweek = xyz.DayOfWeek.toString()
Console.WriteLine("{0:00}", (int)DateTime.Now.DayOfWeek);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)