Difference between revisions of "FILETIME - Get the time a file was modified (Reports & Settings Report Generator function)"
From Catalyst
(Updated from revision control) |
(Updated from revision control) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
== Syntax == | == Syntax == | ||
− | '''$FILETIME'''{filepath} | + | '''$FILETIME'''{filepath, N/T} |
== Description == | == Description == | ||
Line 10: | Line 10: | ||
:A text parameter that can not be omitted. | :A text parameter that can not be omitted. | ||
:The path and filename of the file. | :The path and filename of the file. | ||
+ | ;N/T | ||
+ | :A text parameter that can be omitted (it defaults to "N"). | ||
+ | :;N | ||
+ | ::Numeric result. This is the number of minutes since midnight. This is most commonly used for sorting purposes. | ||
+ | :;T | ||
+ | ::Text result. This is the time formatted for display, using the 24-hour clock, e.g. {{DataValue|08:30}}, {{DataValue|20:30}}. | ||
== Returns == | == Returns == |
Latest revision as of 06:39, 28 November 2018
Syntax
$FILETIME{filepath, N/T}
Description
Given the filepath, this function will return the time this file was last modified.
Parameters
- filepath
- A text parameter that can not be omitted.
- The path and filename of the file.
- N/T
- A text parameter that can be omitted (it defaults to "N").
- N
- Numeric result. This is the number of minutes since midnight. This is most commonly used for sorting purposes.
- T
- Text result. This is the time formatted for display, using the 24-hour clock, e.g. '08:30', '20:30'.
Returns
A numeric value. The number of seconds from midnight that this file was last modified.