By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,046 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

to get day of particular date

100+
P: 121
hi
Is there a way to get the Day(like sunday, monday) from a Date Variable using VB.Net without using a switch case after getting the integer value from DateVal.DayOfWeek, some sort of direct way. in vb6

thsnks in advance
Jan 5 '08 #1
Share this Question
Share on Google+
2 Replies


QVeen72
Expert 100+
P: 1,445
Hi,

Check This :

Expand|Select|Wrap|Line Numbers
  1. TextBox1.Text = Format(TDate, "dddd")
  2.  
Regards
Veena
Jan 5 '08 #2

P: 46
Try following:

Expand|Select|Wrap|Line Numbers
  1. dayname=WeekdayName(Weekday(Date))
Jan 6 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.