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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format Now()

Status
Not open for further replies.

andy570

Technical User
Jan 5, 2004
40
US
Hello quick question. I have Now() displayed as 2004-07-06 01:36:15.0 I would like it displayed as Monday, June 07, 2004, 1:36:15 PM. What is the correct expression? Thanks!
 
Hi,
[tt]
Format(Now()< "dddd, mmmm dd, yyyy, h:nn:ss AM")
[/tt]
:)

Skip,

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
When I enter that in the default field I get the following error when I try to save it: Error "Type mismatch" in the default value. Thanks for your help.
 
Sorry,
[tt]
Format(Now(), "dddd, mmmm dd, yyyy, h:nn:ss AM")
[/tt]


Skip,

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top