多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# G.2 Date The `<date>` tag selects files whose last modified date meet the date limits specified by the selector. ``` <fileset dir="${src}" includes="**/*.php"> <date datetime="01/01/2001 12:00 AM" when="before"/> </fileset> ``` Table G.2:聽 Attributes for the `<date>` selector NameDescriptionDefaultRequired`datetime`Specifies the date and time to test for. It should be in a format parsable by PHP's [strtotime()](http://www.php.net/strtotime) function.n/aOne of the two`seconds`The number of seconds since 1970 that should be tested for.n/a`when`Indicates how to interpret the date, whether the files to be selected are those whose last modified times should be before, after, or equal to the specified value. Accepted values are: `before` - select files whose last modified date is before the indicated date `after` - select files whose last modified date is after the indicated date `equal` - select files whose last modified date is this exact date equalNo`granularity`The number of milliseconds leeway to use when comparing file modification times. This is needed because not every file system supports tracking the last modified time to the millisecond level.0No`checkdirs`Indicates whether or not to check dates on directories.`false`No