Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleFind the first day of the week on this computer
DescriptionThis example shows how to find the first day of the week on this computer in Visual Basic 6. It uses the WeekdayName function.
KeywordsWeekDayName, internationalization, first day of the week, locale
CategoriesSoftware 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
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated