MT Date/Time Tokens
You may use the MT Date/Time Tokens in the "URL" and the "Download To" fields to dynamically create path and file names that contain date information.
Syntax
{mt:Date:format}
or
{mt:Date:directive:format}
Where directive and format are listed below:
Directive
mtSun Uses the date of the next Sunday, including today if Sunday.
mtMon, mtTue, mtWed, mtThu, mtFri, mtSat Like mtSun, uses the next day the respective weekday appears, including today if a match.
mtSunL, mtMonL, mtTueL, mtWedL, mtThuL, mtFriL, mtSatL Uses the date of the last corresponding weekday, but skipping today if a match (eg if today is Sunday, mtSunL returns last Sunday's date, not today's).
Format
YYYY Four digit year
YY Two digit year
MNMN Long string format of month (ie. January, February)
UMUM Upper Case Long string format of month (ie. JANUARY, FEBRUARY)
LMLM Lower Case Long string format of month (ie. january, february)
MMM Short string format of month (ie., Jan, Feb)
UMNM Upper Case Short string format of month (ie., JAN, FEB)
LMNM Lower Case Short string format of month (ie., jan, feb)
MM Two digit format of month (ie., Jan = 01, Dec=12)
M One or two digit format of month (ie., Jan=1, Dec=12)
DDDD Long string format of day (ie. Monday, Tuesday)
UDDD Upper Case Long string format of day (ie. MONDAY, TUESDAY)
LDDD Lower Case Long string format of day (ie. monday, tuesday)
DDD Short string format of day (ie., Mon, Tue)
UDD Upper Case Short string format of day (ie., MON, TUE)
LDD Lower Case Short string format of day (ie., mon, tue)
DD Two digit format of day of Month (ie., 01, 15)
D One or two digit format of day of month (ie., 1, 12)
(DD+#) replace the # with a number to add that many days to the date. Works with the DD macro only. eg (DD+4)
(DD-#) replace the # with a number to subtract that many days from the date. Works with the DD macro only. eg (DD-4)
TT Two digit format of day of Month for Tomorrow (ie., 01, 15)
T One or two digit format of day of month Tomorrow (ie., 1, 12)
HH24 Two digit format of Hour using military time (ie., 1am=01, 12noon=12, 4pm=16)
H24 One or two digit format of hour using military time (ie., 1am=1, 12noon=12, 4pm=16)
HH Two digit format of Hour using 12 hour clock (ie., 1am=01, 12noon=12, 4pm=4)
H One or two digit format of hour using 12 hour clock (ie., 1am=1, 12noon=12, 4pm=16)
mm Two digit format of minute (ie., 05, 25)
m One or two digit format of minute (ie., 5, 25)
SS Two digit format of seconds (ie., 05, 25)
S One or two digit format of seconds (ie., 5, 25)
AMPM Two character String indicating morning or afternoon (ie., am,pm)
AP One character String indicating morning or afternoon (ie., a, p)
BW Two digit format of Week of Year for Broadcast Week(ie., 02, 52)
WW Two digit format of Week of Year Normal Week (ie., 02, 52)
Z Timezone abbreviation (ie., EST, CST, PST)
Samples
Assume that the current time is January 3, 2006 5:33:43 pm EST
Formatted String & Result
Input:
Today is {mt:Date:MNMN DD, YYYY}
Result:
Today is January 03, 2006
Input:
Today is {mt:Date:UMUM DD, YYYY}
Result:
Today is JANUARY 03, 2006
Input:
The time is {mt:Date:HH:mm:SS AMPM Z}
Result:
The time is 05:33:43 pm EST
Input:
Friday of this week is {mt:Date:mtFri:MNMN D}
Result:
Friday of this week is January 6