References > Variables and examples > Trap alert variables > Trap date/time variables

Trap date and time variables

Trap Date/Time Variable

Description

${AbbreviatedDOW}

Current day of the week. Three character abbreviation.

${AbbreviatedMonth}

Current month of the year. Three character abbreviation.

${AMPM}

AM or PM corresponding to current time (before or after noon)

${D}

Current day of the month

${DD}

Current day of the month (two digit number, zero padded)

${Date}

Current date. (MM/DD/YYYY format)

${DateTime}

Current date and time. (MM/DD/YYYY HH:MM format)

${Day}

Current day of the month

${DayOfWeek}

Current day of the week.

${DayOfYear}

Numeric day of the year

${H}

Current hour

${HH}

Current hour. Two digit format, zero padded.

${Hour}

Current hour. 24-hour format

${LocalDOW}

Current day of the week. Localized language format.

${LongDate}

Current date. (DAY NAME, MONTH DAY, YEAR format)

${LongTime}

Current Time. (HH:MM:SS AM/PM format)

${M}

Current numeric month

${MM}

Current month. Two digit number, zero padded.

${MMM}

Current month. Three character abbreviation.

${MMMM}

Full name of the current month

${MediumDate}

Current date. (DD-MMM-YY format)

${MediumTime}

Current time. (HH:MM AM/PM format)

${Minute}

Current minute. Two digit format, zero padded.

${MonthName}

Full name of the current month

${S}

Current second.

${Second}

Current second. Two digit format, zero padded.

${Time}

Current Time. (HH:MM format)

${Year}

Four digit year

${Year2}

Two digit year