Solved

weekday in c#

Posted on 2004-04-19
3
3,687 Views
Last Modified: 2008-01-16
weekday in c#? how do i do it?

thanks
0
Comment
Question by:alain123
3 Comments
 
LVL 9

Accepted Solution

by:
malharone earned 250 total points
Comment Utility
System.Windows.Forms.MessageBox.Show(System.DateTime.Now.ToString("dddd"));


use dddd for dates "Monday"..
use ddd for "Mon"
0
 
LVL 15

Expert Comment

by:Timbo87
Comment Utility
You could also use DateTime.Now.DayOfWeek
This will return "Monday"
0
 
LVL 1

Author Comment

by:alain123
Comment Utility
Thank you!

alain
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now