Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
date decimal back to date
#3
well, it's really more of a yak shaving function.
i have a directory of files that have a 6 digit YYMMDD*x*.??? name format and i want to create a dialog that'll ask for a "start" and "end" date of the files to pull. So, i thought if i took the dates, from the user input, and got the decimal numbers of each date, then took all the numbers between (and including) and converted them back to dates in YYMMDD format and fed them into a dictionary i could compare it to the array i built with the "YYMMDD" portion of the file name and pull only the files that have the dates in the filenames i need.

make any sense?
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)