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

Custom Date Display

Status
Not open for further replies.

unvme

IS-IT--Management
Jan 20, 2003
29
US
Right now, I have a text box that displays the current date in long date format (Wednesday, February 19, 2003). I'd like to have the date diplayed in the following manner:

February 19, 2003
Wednesday

I would like the day to be displayed on the next line. Is this possible?


Thanks,
Ryan
 
Create two text boxes one on top of the other. In the top one put the following in the Control Source property:

=Format(Date(),"mmmm dd"", ""yyyy")
This will give you February 19, 2003"

In the bottom text box put the following in the Control Source Property:

=Format(Date(),"dddd")
This will give you Wednesday

I believe this will provide what you requested. Bob Scriver
 
Worked perfectly! Thanks Bob!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top