|
-
Apr 17th, 2015, 06:57 PM
#1
Re: is it to long filename?
 Originally Posted by i00
Your problem is this:
Now.ToString((myFile) + "MM-dd-yyyy"))
as this is formatting Now to "VolvoPentaMM-dd-yyyy" ...
Believe it or nnot, it will still work... the date portion will actually format out to the date it should. But it should be noted that ANY part of the text that is in that string WILL be formatted... so the 'n' in Penta will come out with the month in it.
-tg
-
Apr 18th, 2015, 11:42 AM
#2
Re: is it to long filename?
 Originally Posted by techgnome
Believe it or nnot, it will still work... the date portion will actually format out to the date it should. But it should be noted that ANY part of the text that is in that string WILL be formatted... so the 'n' in Penta will come out with the month in it.
-tg
I know that you "can" put other things in the formatting section that are not number / date related ... but IMHO this is REALLY, REALLY bad practice!
Kris
-
Apr 18th, 2015, 05:19 PM
#3
Re: is it to long filename?
 Originally Posted by i00
I know that you "can" put other things in the formatting section that are not number / date related ... but IMHO this is REALLY, REALLY bad practice!
Kris
hehehe, agreed. like shooting my foot. I CAN do so but it would be a really bad idea.
-tg
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|