extracting day from date

T

tim johnson

If today (2/24/2004) is Tuesday how can I extract
Tuesday form the date.

I tried DatePart("d", Date()) and get 24 but I want
Tuesday instead of 24. Nothing else I try seem to work

Thanks
 
B

Brian Camire

Here are some alternatives. Today,

Weekday(Date())

will return 3,

DatePart("w", Date())

will also return 3, and,

Format(Date(), "dddd")

will return "Tuesday".

There are also other alternatives involving the Format function (using
"ddd", "w", and "aaaa" formats). See the help for details.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top