Hi everyone, I have this really noob question... I am trying to use a calendar control, but I need to find out what day of the week it is because, I want to use the weekdayname function to find the name of the day... can anyone help me out...
Printable View
Hi everyone, I have this really noob question... I am trying to use a calendar control, but I need to find out what day of the week it is because, I want to use the weekdayname function to find the name of the day... can anyone help me out...
Use the WeekDay function aswell.
VB Code:
WeekdayName(Weekday(Calendar1.Value, vbUseSystemDayOfWeek))
Also... when I try to get the month name using the month name function, I get it when I haven't changed the month, but when I actually lets say go to another month... Everytime I get December as the month... Anyclue??
A couple of things:
- when asking about something isn't working you need to post some code (if any) associated with your question
- if you're using MS Calendar control then I suggest you switch to DateTimePicker or MonthView (both could be found in MS Windows Common controls 6.0) - Calendar control is nonly designed for VBA (MS Office) apps.