Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • So it is not the time a file was created, rather a subset of the actual filename you want to return? Is it to be stored in a file? Output on screen? Give some pseudo-wanted output. Commented Jun 30, 2016 at 20:12
  • Yes. Date from file name. I'll update the output.. Commented Jun 30, 2016 at 20:12
  • Is the rest of the filename always known? For example, if it is always "Filename<datestuff>" or "<datestuff>_filename" or "<datestuff>-filename", can't you just strip away the known part? Commented Jun 30, 2016 at 20:14
  • 3
    These are just the requirements. Where is your code? Commented Jun 30, 2016 at 20:14
  • 1
    @Prashanth I'm not aware of an existing command which could achieve that. Commented Jun 30, 2016 at 20:21