VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Use WeekdayName Function to Get a String Indicating the Specified Day of the Week in VB6

by Yuening Dai (30 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 9th January 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Use WeekdayName Function to Get a String Indicating the Specified Day of the Week in VB6

Rate Use WeekdayName Function to Get a String Indicating the Specified Day of the Week in VB6



MsgBox WeekdayName("7", False, vbMonday)   'Sunday

MsgBox WeekdayName(7, False, vbMonday)     'Sun
MsgBox WeekdayName("7", False, vbMonday)   'Sun

MsgBox WeekdayName(2, False, vbSubday)     'Monday
MsgBox WeekdayName("2", False, vbMonday)   'Monday

MsgBox WeekdayName(2, True, vbSubday)     'Mon
MsgBox WeekdayName("2", True, vbMonday)   'Mon

Download this snippet    Add to My Saved Code

Use WeekdayName Function to Get a String Indicating the Specified Day of the Week in VB6 Comments

No comments have been posted about Use WeekdayName Function to Get a String Indicating the Specified Day of the Week in VB6. Why not be the first to post a comment about Use WeekdayName Function to Get a String Indicating the Specified Day of the Week in VB6.

Post your comment

Subject:
Message:
0/1000 characters