Documentation forSolarWinds Platform Self-Hosted

Date and time variables

This topic applies to all SolarWinds Platform products.

The following are valid date and time variables.

Date/Time Variable

Description

${N=Generic;M=AMPM}

AM/PM indicator

${N=Generic;M=AbreviatedDOW}

Current day of the week. Three character abbreviation.

${N=Generic;M=Day}

Current day of the month

${N=Generic;M=Date;F=Date}

Current date. (Short Date format)

${N=Generic;M=DateTime;F=DateTime}

Current date and time. (Windows control panel defined “Long Date” and “Long Time” format)

${N=Generic;M=DayOfWeek}

Current day of the week.

${N=Generic;M=DayOfYear}

Numeric day of the year

${N=Generic;M=Hour}

Current hour

${N=Generic;M=HH}

Current hour. Two digit format, zero padded.

${N=Generic;M=Past2Hours}

Last two hours

${N=Generic;M=Past24Hours}

Last 24 hours

${N=Generic;M=Last7Days;F=Date}

Last seven days (Short Date format)

${N=Generic;M=PastHour}

Last hour

${N=Generic;M=LocalDOW}

Current day of the week. Localized language format.

${N=Generic;M=LocalMonthName}

Current month name in the local language.

${N=Generic;M=LongDate}

Current date. (Long Date format)

${N=Generic;M=Month}

Current numeric month

${N=Generic;M=MM}

Current month. Two digit number, zero padded.

${N=Generic;M=AbbreviatedMonth}

Current month. Three character abbreviation.

${N=Generic;M=MonthName}

Full name of the current month

${N=Generic;M=MediumDate}

Current date. (Medium Date format)

${N=Generic;M=Minute}

Current minute. Two digit format, zero padded.

${N=Generic;M=Second}

Current second. Two digit format, zero padded.

${N=Generic;M=Time}

Current Time. (Short Time format)

${N=Generic;M=Today;F=Date}

Today (Short Date format)

${N=Generic;M=Year}

Four digit year

${N=Generic;M=Year2}

Two digit year

${N=Generic;M=Yesterday;F=Date}

Yesterday (Short Date format)