Format Date with Text

G

Guest

I am trying to put the date with text in a text box on a report but can not
figure out the syntax:
="Dated on " & Format(Date(), mmmm dd","yyyy) & "."

So I want this to show on the report: "Dated on September 7, 2006." I need
to format the date. Can all this be done in single text box?

Thanks for any help.
 
M

Marshall Barton

Lamar said:
I am trying to put the date with text in a text box on a report but can not
figure out the syntax:
="Dated on " & Format(Date(), mmmm dd","yyyy) & "."

So I want this to show on the report: "Dated on September 7, 2006." I need
to format the date. Can all this be done in single text box?


The format spec needs to be in quotes:

="Dated on " & Format(Date(), "mmmm dd\, yyyy") & "."
 

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