2 Replies Latest reply on Feb 10, 2010 9:25 AM by ecklerwr1

    Tmestamps in alerts

    sjweinstein

      I see that timezones is a feature request but is ther any variabl tha can be used in an alert email to add the timezone to the date time

        • Re: Tmestamps in alerts
          ecklerwr1

          You could add an advanced property to each node called something like "timezone".  Set this for each node with whatever you like as the timezone identifier (you could use something like GMT + - minus whatever).  Keep your NPM on GMT.  Then in your alerts use the variable ${timezone} in the message.  This would enable every alert to display your timezone info for each node alerted on.  It woud even be possible to take the timezone variable and use it to do the math against GMT and show the derived value.

            • Re: Tmestamps in alerts
              ecklerwr1

              Also here's some of the built in Time Variables to help you:

              Date/Time

              Variable

               

              Description

               

              ${DateTime}

               

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

               

              ${Date}

               

              Current date. (Short Date format)

               

              ${LongDate}

               

              Current date. (Long Date format)

               

              ${MediumDate}

               

              Current date. (Medium Date format)

               

              ${Time}

               

              Current Time. (Short Time format)

               

              ${DayOfWeek}

               

              Current day of the week.

               

              ${D}

               

              Current day of the month

               

              ${DD}

               

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

               

              ${AbreviatedDOW}

               

              Current day of the week. Three character abbreviation.

               

              ${LocalDOW}

               

              Current day of the week. Localized language format.

               

              ${M}

               

              Current month

               

              ${MM}

               

              Current month. Two digit number, zero padded.

               

              ${MMM}

               

              Current month. Three character abbreviation.

               

              ${MMMM}

               

              Full name of the current month

               

              ${LocalMonthName}

               

              Current month name in the local language.

               

              ${DayOfYear}

               

              Numeric day of the year

               

              ${Year2}

               

              Two digit year

               

              ${Year}

               

              Four digit year

               

              ${H}

               

              Current hour

               

              ${HH}

               

              Current hour. Two digit format, zero padded.

               

              ${M}

               

              Current minute

               

              ${Minute}

               

              Current minute. Two digit format, zero padded.

               

              ${S}

               

              Current second.

               

              ${Second}

               

              Current second. Two digit format, zero padded.

               

              ${AMPM}

               

              AM/PM indicator