Datetime tags
Inserts the value belonging to the tag based on the computers local time and date. They are very self explained. Remember that these values are calculated at start of rename and not when the file is actually renamed. All tags except <Year>
have a length of two characters at all time.
<Date:format> <Time:format>
|
Format date and time based on format string.yy : 2 digit yearyyyy : 4 digit yearm : Monthmm : 2 digit month with leading zerommm : Month as text, shortmmmm : Month as text, longd : Daydd : 2 digit day with leading zeroddd : Day of week as text, shortdddd : Day of week as text, longh : Hourhh : 2 digit hour with leading zeron : Minutenn : 2 digit minute with leading zeros : Secondss : 2 digit second with leading zero |
<Sec> |
|
<Min> |
|
<Hour> |
|
<Day> |
|
<Month:x>
|
The optional parameter can be used to specify another format than the standard leading zeros format. Possible parameter values: 0 : No leading zeros.00 : Leading zerosxxx : Short textual (jan, feb etc.)Xxx : Short textual with starting capital letter (Jan, Feb etc.)XXX : Short textual in capital letters (JAN, FEB etc.)xxxx : Long textual (january, february etc.)Xxxx : Long textual with starting capital letter (January, February etc.)XXXX : Long textual in capital letters (JANUARY, FEBRUARY etc.)
|
<Year:x>
|
Set x to 00 to force the year value into a 2 digit value |
<UnixTimestamp> |
Adjusting output value New in version 4.04
You can adjust the value used for the new filename by adding an offset parameter to the tag. If no date/time unit is supplied, the default for the tag will be used. Multiple units can be added in sequence to adjust multiple timestamp values. For format based tags, like
Adjustment of timestamp values works for most date and time based tags.
Use
Note: Only the value added to the tag will be changed, not the source value.
Here are some examples:
Date and time units for the offset parameter:
You can adjust the value used for the new filename by adding an offset parameter to the tag. If no date/time unit is supplied, the default for the tag will be used. Multiple units can be added in sequence to adjust multiple timestamp values. For format based tags, like
<Date>
and <Time>
, units must be used. Adjustment of timestamp values works for most date and time based tags.
Use
+
or -
sign to either add or subtract a value.Note: Only the value added to the tag will be changed, not the source value.
Here are some examples:
<Hour:+2> | Will add 2 hours to the value. |
<Month:00:-1> | Will subtract 1 month from the value. |
<Day:-7h> | Will subtract 7 hours from the value. Has an effect on the day value if the timestamp hour values is less than 7 AM. |
<Time:hh-nn-ss:+2h> | Will add 2 hours to the value. |
<Time:hh-nn-ss:+2h+10n> | Will add 2 hours and 10 minutes to the value. |
<Time:hh-nn-ss:+2h-30n> | Will add 2 hours and subtract 30 minutes. |
Date and time units for the offset parameter:
s
Secondsn
Minutesh
Hoursd
Daysm
Monthsy
Years