|
|
Title | Find the first day of the week on this computer |
Description | This example shows how to find the first day of the week on this computer in Visual Basic 6. It uses the WeekdayName function. |
Keywords | WeekDayName, internationalization, first day of the week, locale |
Categories | Software Engineering |
|
|
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 Form_Load()
lblFirstDayOfWeek.Caption = WeekdayName(1, , _
vbUseSystemDayOfWeek)
End Sub
|
|
|
|
|
|