Rebol Programming/modified?
Jump to navigation
Jump to search
USAGE:[edit | edit source]
MODIFIED? target
DESCRIPTION:[edit | edit source]
Returns the last modified date of a file or URL.
MODIFIED? is a function value.
ARGUMENTS:[edit | edit source]
- target -- (Type: file url)
(SPECIAL ATTRIBUTES)[edit | edit source]
- catch
SOURCE CODE[edit | edit source]
modified?: func [ "Returns the last modified date of a file or URL." [catch] target [file! url!] /local info ][ info: throw-on-error [info? target] either none? info [none] [info/date] ]