By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,594 Members | 2,016 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,594 IT Pros & Developers. It's quick & easy.

Date function???

P: 7
What is the function to show the current date in a text box, which is going to be written to a text file.

I tried Now() and Today() but they all give me the time as well

I need the format to be

11/30/2007

not

11/30/2007 11:56:55 PM
Dec 1 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 487
Use
Expand|Select|Wrap|Line Numbers
  1. Format(date,"MM/dd/yyyy")
  2.  
Dec 1 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.