Greetings All,
in the following code am using Microsoft.VisualBasic in my C# program. with out using Microsoft.VisualBasic can any one help me to give the complete equvalent code in C#
Microsoft.VisualBasic.FirstDayOfWeek z1 = 0;
DateTime dt1= DateTime.Now;
string strDayName = DateAndTime.WeekdayName(DateAndTime.Weekday(dt1,z1),false,z1).ToString();
Thanks
Tec
Hope the following is helpful.
------------------
strDayName = DateTime.Now.DayOfWeek.ToString();
or
DateTime dt1 = DateTime.Now;
strDayName = dt1.DayOfWeek.ToString();
PPA