Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
 
Glossary

New Entries Added Almost Daily!
Click here to get on our Mailing List

   

   Access    Excel    Word    Windows    HTML

 
MS Access

WeekDayName

Using the WEEKDAYNAME Function

In this tutorial you will learn how to use the WeekDayName Function.

The WeekDayName function returns a String indicating the specified day of the week.

=WeekDayName( weekday [, abbreviate] [, firstdayofweek] )

weekday a numeric designation for the day of the week.
abbreviate is a Boolean value to determine whether or not to abbreviate. Default: False
firstdayofweek a constant specifying the first day of the week.

WeekDayName - Function Engine

The result is Fri.

UK Date Format

Settings
FirstDayOfWeek
ConstantValueDescription
vbUseSystem0First day of week specified in system settings (default)
vbSunday1Sunday
vbMonday2Monday (complies with ISO standard 8601, section 3.17)
vbTuesday3Tuesday
vbWednesday4Wednesday
vbThursday5Thursday
vbFriday6Friday
vbSaturday7Saturday

FORM

In a Form you could set the Default Value of a Textbox to

	=WEEKDAYNAME(6, 1, 1)
	
VBA

In a Form add a TEXTBOX control and rename it "txtWeekDayName", then you could add the following in the Load Event.

	Private Sub Form_Load()
		txtWeekDayName = WeekDayName(6, 1, 1)
	End Sub
	

Course

Want to learn more? Request this via the contact form.

Search

You can find more about this by searching the website.


Alex Hedley (Avatar) By: Alex Hedley


Click here to sign up for more FREE tips

 

You may want to read these articles from the 599CD News:

 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn