Formatting a date in a text box

  • Thread starter Thread starter Steve Welman
  • Start date Start date
S

Steve Welman

Hi

I have a text box on my form and in the text box I want to display the
message "Persal letters sent on 6 January 2006"

Now to do this I am entering

="Persal letters sent on " & now()

Which displays Persal letters sent on 06/01/2006 08:28:31

I basically need to know how to supress the display of the time by
formatting the now()

Thanks in advance

Steve
 
Use the Format() function to specify how you want the date to look, e.g.:
="Persal letters sent on " & Format(Date(), "d mmmm yyyy")
or perhaps:
="Persal letters sent on " & Format(Date(), "Long Date")
 

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

Back
Top