I need to create a file that has today’s date in the file name. How can I get the date just as 20111110 and no slashes?
I need to create a file that has today’s date in the file name.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Also, you may not be be aware of
System.IO.Path.Combine. It makes building paths a little cleaner and more foolproof.