To get the WeekDay name you have to create a button like on the picture bellow:
After, write the code:
Dim getdate As Date
getdate = Now
MessageBox.Show("Weekday name: " & getdate.ToString("dddd"), _
"Date exercise")
The resul is as on the picture bellow:
No comments:
Post a Comment