Altair® Monarch® Server

 

Using the Naming Macros

The following naming macros are available:

Macro Symbol Result

Year (4 digit)

&[yyyy]

4-digit year (for example, 2007)

Year (2 digit)

&[yy]

2-digit year (for example, 07)

Month

&[mm]

Month

Day

&[dd]

Adds the day to the file name as a two digit numeral, for example, 09 for the ninth Day

Hour

&[hh]

Hour

Minute

&[mi]

Minutes

Second

&[ss]

Seconds

Quarter

&[qtr]

1-digit quarter of the calendar year: 1 for dates in January: March, 2 for dates in April: June, 3 for dates in July: September, 4 for dates in October: December.

Day of Year

&[dayofyear]

3-digit day of the year in range 001-366.

Previous Day

&[dd.-1d]

2-digit value in the range of 01-31.

Previous Month

&[mm.-1m]

2-digit value in the range of 01-12.

Previous Year

&[yyyy.-1y]

4-digit year (referring to previous year).

ISO Year

&[isoyear]

4-digit year corresponding to the ISO-8601 week in which the date falls.

ISO Week

&[isoweek]

2-digit week of the year (range 01-53) as defined in ISO-8601. Note that it's possible for a date in late December to actually fall in week 01 of the following year. Likewise, it's possible for a date in early January to fall in the last week (52 or 53) of the previous year.

ISO Day of Week

&[isoday]

1-digit day of the week as defined in ISO-8601, namely, Monday=1, Tuesday=2, Wednesday=3, ... Sunday=7.

Date Format

&[date.<date increment>.<output format>]

Subtracted date; <date increment> could be -1d, +1d, -1m, +1m, -1y, +1y, and <output format> could be yyyyMMdd, yyyy-MM-dd, etc. The output format is case-sensitive. For a full list of supported format specifiers, click here.

Input file

&[input]

Input file name

Task name

&[taskname]

Filing task name

Document type

&[doctype]

Document type name

Time Intervals

Calendar Year

&[yyyy]

4-digit calendar year

Calendar Half-year

H&[halfyear]-&[yy]

The calendar half-year in which the date falls, where each half-year is defined as six calendar months.

Calendar Quarter

Q&[qtr]-&[yy]

The calendar quarter in which the date falls, where each quarter is defined as three calendar months

Calendar Month

&[monthname]-&[yy]

The calendar month

Calendar Week

W&[week]-&[yy]

The week number

ISO8601 Year

&[isoyear]

The year corresponding to the ISO week in which the date falls.

ISO8601 Week

&[isoyear]-W&[isoweek]

The ISO week in which the date falls.

Fiscal Year

FY&[fendyear]

The fiscal year expressed as the calendar year of the first day of the fiscal year in which the date falls

Fiscal Half-year

FH&[fhalfyear]-&[fendyy]

The fiscal half-year in which the date falls

Fiscal Quarter

FQ&[fqtr]-&[fendyy]

The fiscal quarter in which the date falls.

Fiscal Period

FP&[fperiod]-&[fendyy]

The fiscal period; either a calendar month or a 4- or 5-week period, depending on the type of fiscal year

Fiscal Week

FW&[fweek]-&[fendyy]

The fiscal week number in which the date falls.