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

Syslog date and time variables

Syslog Date/Time Variable

Description

${AbbreviatedDOW}

Current day of the week. 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. (Short Date format)

${DateTime}

Current date and time. (Windows control panel defined "Short Date" and "Short Time" format)

${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. (Long Date format)

${LocalMonthName}

Current month name in the local language.

${LongTime}

Current Time. (Long Time format)

${M}

Current numeric month

${MM}

Current month. Two digit number, zero padded.

${MMM}

Current month. Three character abbreviation.

${MediumDate}

Current date. (Medium Date format)

${Minute}

Current minute. Two digit format, zero padded.

${Month}

Full name of the current month

${N}

Current month and day

${S}

Current second.

${Second}

Current second. Two digit format, zero padded.

${Time}

Current Time. (Short Time format)

${Year2}

Two digit year

${Year}

Four digit year