Formatting date output by an MS Access Query

Hi Experts,

I'm using Access 2016.

My tables have some fields that are of type: Date/Time.

I am creating a query that currently outputs the date in the form: 22/12/2018.

How can I output it in the form: 22 December 2018?

Regards,
Leigh
LVL 1
LeighWardleAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Anders Ebro (Microsoft MVP)Microsoft DeveloperCommented:
If you open the query in design view, and right click the column in the below grid, you will see field properties. You can set it to long data format (not 100% sure on the name)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
crystal (strive4peace) - Microsoft MVP, AccessRemote Training and ProgrammingCommented:
in the Format property for the column, you can use this format code:

d mmmm yyyy

the named formats display depending on your Windows Region settings

1. be in the query design
2. turn on the Property Sheet if it is not showing -- right-click and choose "Properties" from shortcut menu, or click icon on the ribbon, or press Ctrl-ENTER
3. then click on the column you want to format, if you were not already there -- or just to be sure that is where you are
4. type code in the Format property or choose what you want from the list, if what you want is on the list
LeighWardleAuthor Commented:
Thanks, Anders.

It turns out that you can use a Custom data format for that property.
"d MMMM yyyy" gave me the output I wanted.
LeighWardleAuthor Commented:
Sorry crystal - I did not see your answer until I had awarded points to Anders.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SQL

From novice to tech pro — start learning today.