|
|
Title | Find the first day of the week on this computer in VB.NET |
Description | This example shows how to find the first day of the week on this computer in VB.NET. It uses the WeekdayName function. |
Keywords | WeekDayName, internationalization, first day of the week, locale, VB.NET |
Categories | Software Engineering, VB.NET |
|
|
The program uses the WeekdayName function to get the name of the 1st day of the week. The final parameter tells the function to use the system's setting for the first day of the week.
|
|
Private Sub Form1_Load(ByVal sender As System.Object, ByVal _
e As System.EventArgs) Handles MyBase.Load
lblFirstDayOfWeek.Text = WeekdayName(1, , _
FirstDayOfWeek.System)
End Sub
|
|
|
|
|
|