Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2004
    Location
    Texas
    Posts
    239

    Huh? Compare files by date created

    I need to compare 2 files by their date created. If they are the same a simple dialog.message saying same is all i need. If they are differant a dialog.message saying differant. That is all. Is this possible? If so, could you show me an example?

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    Yes - the File.GetAttributes action (if memory serves me correctly) does this and returns a table with various attributes. I use the .WriteDateISO value to compare two files (local and on a server) before opening a front end to a SQL database locally. If there's a newer version on the server I copy/overwrite the local version before opening it. There is also a .CreationDateISO value (once again - from memory so it may be slightly different to that).

    It works really well.

  3. #3
    Join Date
    Aug 2003
    Posts
    2,427
    Here's a little example using the creation date in ISO format.

Similar Threads

  1. Function: Compare File Date to ISO Date
    By Lorne in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-10-2004, 05:35 PM
  2. Date Compare
    By vader_oz in forum AutoPlay Media Studio 4.0
    Replies: 2
    Last Post: 07-30-2003, 07:39 AM
  3. Delete Files (recursive) Action on could use Date protection
    By jdwarren in forum Setup Factory 6.0
    Replies: 0
    Last Post: 04-14-2003, 12:31 PM
  4. method to index/compare user's files for update?
    By intel352 in forum Setup Factory 6.0
    Replies: 0
    Last Post: 01-15-2003, 03:08 PM
  5. HOWTO: Make an AutoPlay Application Expire
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-09-2002, 10:10 AM

Posting Permissions

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