Formats a filesystem timestamp with a date/time pattern.
Signature (positional):
<file-date:format-string,date-kind>
| Option | Description |
|---|---|
format-string |
See Date and Time Format Strings. May
contain commas; the last comma separates date-kind.
|
date-kind |
creation, lastWrite, or lastAccess
(case-insensitive). In the editor, Kind is Creation, Last write, or Last access.
|
| Token | Result |
|---|---|
<file-date:yyyy-MM-dd,creation> |
Creation date as 2024-03-15 |
<file-date:yyyyMMdd_HHmmss,lastWrite> |
Last write as 20240315_143022 |
<file-date:yyyy-MM-dd_HH-mm-ss,lastAccess> |
Last access as 2024-03-15_14-30-22 |
For EXIF shot date, use
<exif-date:yyyy-MM-dd>
instead.