Solved

weekday in c#

Posted on 2004-04-19
3
3,697 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
ID: 10864233
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
ID: 10864701
You could also use DateTime.Now.DayOfWeek
This will return "Monday"
0
 
LVL 1

Author Comment

by:alain123
ID: 10903371
Thank you!

alain
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

860 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