Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 11, 2011 04:08 PM by Rajneesh Verma
Member
42 Points
125 Posts
Nov 11, 2011 04:00 PM|LINK
Can some one tell me how to display the day of week.
I've used theses codes for the date but I can't display the day infront of it.
Heure.Text = DateTime.Today.ToString("dd/MM/yyyy");
Contributor
2559 Points
489 Posts
Nov 11, 2011 04:04 PM|LINK
Use below code O/P: Friday
Heure.Text = DateTime.Today.Date.DayOfWeek.ToString();
All-Star
36769 Points
6747 Posts
Nov 11, 2011 04:08 PM|LINK
Gracien Heure.Text = DateTime.Today.ToString("dd/MM/yyyy");
use:
Heure.Text = DateTime.Now.DayOfWeek.ToString();
Gracien
Member
42 Points
125 Posts
Day of the week
Nov 11, 2011 04:00 PM|LINK
Can some one tell me how to display the day of week.
I've used theses codes for the date but I can't display the day infront of it.
Heure.Text = DateTime.Today.ToString("dd/MM/yyyy");
Tango542
Contributor
2559 Points
489 Posts
Re: Day of the week
Nov 11, 2011 04:04 PM|LINK
Use below code O/P: Friday
Rajneesh Ver...
All-Star
36769 Points
6747 Posts
Re: Day of the week
Nov 11, 2011 04:08 PM|LINK
use:
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.