WeekdayName Function in VB.NET
How to use the Weekdayname function in VB.NET?
WeekdayName FunctionWeekdayName Date Function
in Visual Basic.net 2008 accepts a day of the week as integer, to return a string representing the
name of day of the week. Usually this function is used with the Weekday
Console.WriteLine("Weekday for the date '05/22/2010'is::
" & WeekdayName(Weekday("5/22/2010")))
In the above example, the day value is got using the Weekday
date function, then the weekday name
is returned using the WeekdayName
function represented as a string.