Beyond FTP Feature Tour
Beyond FTP Script
Editor - File_Date_Filter Command
Back
to Feature Tour


This command can specify dates either directly or as an
offset from the current date.
The filter may take several forms: All files before a certain date or
offset; All files after a certain date or offset; and All files between two
dates. Unless otherwise specified, the time for early dates is set to 0:0
and for late dates to 23:59.
This implies that the commands:
:File_Date_Filter: Between 1/1/2001 ~ 12/31/2001
:File_Date_Filter: Between 1/1/2001 0:0 ~ 12/31/2001 23:59
are identical and produce the same results. All times are specified in
24-hour format.
The filter, like other modifiers, is constructed at compile time. It remains
in effect until another File_Date_Filter command is encountered, or the
script exits the block in which the command occurs. You discontinue date
filtering by using the None directive. The filter is applied only when files
are being expanded. It has no effect in situations where the file name is
fully specified.
Example:
:File_Date_Filter: olderthan
-30 days
:File_Date_Filter: after 1/1/2003 0:0
:File_Date_Filter: between 1/1/2003 0:0 ~ 12/31/2003 23:59
Back
to Feature Tour

|