Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date 2

Status
Not open for further replies.

Duane8889

Programmer
Dec 14, 2001
46
US
Hello
How can I display current date in a textbox? ex June 12, 2005. I don't want 6/12/05 or Sunday, June 12, 2005.
I tried
Code:
=Format(Date(),"mmmm dd "," yyyy")
in the control source of the textbox on a form but I just get #Error in the textbox.
 
Hi
Code:
=Format(Date(),"mmmm dd"", ""yyyy")
 
Why all the extra quote symbols:

=Format(Date(), "mmmm dd, yyyy")

should do the trick.

Hope this helps.

 
earthandfire
Yes, you are right it does work as you showed!
thankQ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top