|
-
Sep 25th, 2002, 10:49 AM
#1
Thread Starter
Hyperactive Member
Calculate the year
I receive files that have the date embedded in their name, but it does not include the year.
I am trying to figure out how I can assign the year if I provide the month and day.
For example, I have a file named "myfile0802" and I want to know that it is 8/2/2002.
If today were 1/1/2003 and I had "myfile1225" I'd want to know that the date should be 12/25/2002 and not 12/25/2003.
Any help is greatly appreciated!
If it helps, I am looking to get the date in yyyymmdd format.
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
|