news
About Elegant Chaos
info
About me and my friends
people
Software from Elegant Chaos
software
Other stuff...
stuff

Modified

This XFCN returns the modification date of a file.

Modified XFCN. Version 1.1d1, by Sam Deane. Copyright 1994 ULTRALAB. Compiled 16:57:09, 28/04/94. Debugging code included.


[last exit to hypercard] [externals index] [download Modified]

Description

This simple XFCN can be used to find out the date that any file was last modified.

It returns the date in seconds.

Example script

on mouseUp
  answer file "File to look at?"
  if it is not empty then
    put it
    
    get Modified("modified",it)
    convert it to date and time
    answer "File was modified: " & it
  end if
end mouseUp

Commands

modified

The syntax for this command is:

  Modified("modified",<file>)

Where <file> is the full path of a file.

The modification date, in seconds, is returned, or an error if the file didn't exist.


[last exit to hypercard] [externals index] [download Modified]

This page was created automatically, on 25/03/1999 from version 3.0d4 of Last Exit To Hypercard.