Skip to main content

File date is

Compare when a file was last changed or created with a date or a range, or check its age in days, hours, minutes or seconds.

Condition in the File toolkit · id ooa.file/date_is · 8 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
PathFileYesFile path.
WhichStringNomodifiedWhich date of the file.
OperatorStringNobeforeBefore, after or on a date (calendar day, UTC), between two dates, or older/newer than an age.
DateDateTimeNoDate to compare with (UTC); the start of the range for between.
AgeNumberNoAge in the chosen unit (days when no unit is chosen).
UntilDateTimeNoEnd of the range for between (UTC).
InclusiveBooleanNofalseCount a file dated exactly on the date (or on either end of the range) as matching.
UnitStringNodaysUnit of the age.