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

Date to Filename? 1

Status
Not open for further replies.

scotttom

IS-IT--Management
Mar 5, 2002
143
US
Hi,

So I see how to change a date like "10312005" to 10/31/2005.... But how do I go the other way?

I want to use a date parameter that I am using in a query for a exported file name. "Report06012006to06302006.xls"

Thanks in advance for any help!

Scott
 
Try a custom format like
Format(strDate,"mmddyyyy")

I have great faith in fools; self-confidence my friends call it.
-Poe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top