411 REFERENCE · Wikibooks
Rebol Programming/modified?
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
MODIFIED? target
DESCRIPTION:
Returns the last modified date of a file or URL.
MODIFIED? is a function value.
ARGUMENTS:
target -- (Type: file url)
(SPECIAL ATTRIBUTES)
catch
SOURCE CODE
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]
]