Results 1 to 3 of 3

Thread: Folder Names

  1. #1
    Join Date
    Jun 2004
    Posts
    20

    Thumbs up Unanswered: Date Stamped Folder Names

    Hello everyone,

    I was curious about how to go about doing the following:
    I have many folders in my root directory. The names of the folders and date stamped.
    The naming convention is the following:
    YYYYMMDD
    So some of folder names are:
    20040503
    20040609
    20040405
    20040617

    The folders are filled with images. I want to go into the folder with the most recent date and grab some images.
    So basically I just need to know how to find out which folder is the most recent so I can dynamically make links to images in that folder.

    Your help is much appreciated
    Last edited by nullptr; 06-17-04 at 16:42.

  2. #2
    Join Date
    Jan 2004
    Location
    India
    Posts
    168
    You have to chake the current date and check for string comparison.

    Rajesh

  3. #3
    Join Date
    Feb 2004
    Posts
    29
    why do you want to make comparisons?
    why are you going in too much complications, just make a separate folder for update images and link to that folder.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •