How do I get just the weekday out of a long date

D

Dave

Access 2003

I have a query that is pulling the date from a table.
I want to know the day of the week so I changed it to "long date" in
formatting.
However this is not really what I want.

I have decided I want to pull this date twice from the table.
I want the first to be formatted long date but dropping everything but the
day of the week.

The second field will just be a short date.

How do I format the date field to just show me the day of the week.

Thanks

dave
 
K

KARL DEWEY

If you want the name of the day then use this --
Format([YourDateField], "dddd")
 
M

Marshall Barton

Dave said:
Access 2003

I have a query that is pulling the date from a table.
I want to know the day of the week so I changed it to "long date" in
formatting.
However this is not really what I want.

I have decided I want to pull this date twice from the table.
I want the first to be formatted long date but dropping everything but the
day of the week.

The second field will just be a short date.

How do I format the date field to just show me the day of the week.


Format(datefield, "dddd")
 
D

Dave

Thank you both
dddd - was exactly what I was looking for

dave



KARL DEWEY said:
If you want the name of the day then use this --
Format([YourDateField], "dddd")
--
Build a little, test a little.


Dave said:
Access 2003

I have a query that is pulling the date from a table.
I want to know the day of the week so I changed it to "long date" in
formatting.
However this is not really what I want.

I have decided I want to pull this date twice from the table.
I want the first to be formatted long date but dropping everything but
the
day of the week.

The second field will just be a short date.

How do I format the date field to just show me the day of the week.

Thanks

dave
 

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