triphen
asked on
VB6 Get day of the week
Hey Experts,
I want to make...
label1.caption = to the day of the week.
label2.caption = full date and time
So when I load the form...
label1.caption says "Wednesday"
label2.caption says "2011-03-31 20:39:00PM"
Thanx!
I want to make...
label1.caption = to the day of the week.
label2.caption = full date and time
So when I load the form...
label1.caption says "Wednesday"
label2.caption says "2011-03-31 20:39:00PM"
Thanx!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I want the label1.caption to say Wednesday when I load the form today and Thursday when I load the form tomorrow.
"Now" gives you the current time, which given the formatting specifiers will produce the two captions you need.
ASKER
Thanks dude!
label2.caption = Time$