Using the %nextfiledate, %nextfiledatetime, %nextfilesize, and %nextfiletime Variables |
Top Previous Next |
The %nextfiledate, %nextfiledatetime, %nextfilesize, and %nextfiletime variables are initialized to the file date, file time, and/or file size of the last local file or folder returned by the GETNEXTFILE script command. (%nextfilesize is not meaningful if a folder is returned.)
The format of the date and time are the same as the %date, %datetime, and %time variables, and the %nextsitedate, %nextsitedatetime, and %nextsitetime variables.
The %nextfiledate variable is in the form mm-dd-yy (i.e., 02-16-01). Note: the more common mm/dd/yy (i.e. 02/16/01) form is not used so that the %nextfiledate variable may be used to name files.
The %nextfiledatetime variable contains a formatted date and time string (i.e., Sat Feb 17 11.00.22 2001).
The %nextfiletime variable is in the form hh.mm.ss (i.e., 11.00.22). Note: the more common hh:mm:ss (i.e. 11:00:22) form is not used so that the %nextfiletime variable may be used to name files.
The %nextfilesize variable contains an integer string value corresponding to the size of the file in bytes (i.e., 66001).
Refer to GETNEXTFILE for more details.
The DATEADD and DATESUB script commands may be used to manipulate %nextfiledate or other date variable.
See also: Using the %date, %datetime, and %time Variables, Using the %sitefiledate, %sitefiledatetime, %sitefilesize, and %sitefiletime Variables
|