Date Macro

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
V Arun
Posts: 52
Joined: Sun Apr 11, 2004 11:17 pm

Date Macro

Post by V Arun »

Hi Alex,

I am trying to generate an email alert whose body should contain yesterday's date. I tried the below combinations, but didn't work. HM version is 4.80

%mmddyyyy[-1d]%
%dd[-1d]%

Appreciate your help.

Thanks,
Arun.
V Arun
Posts: 52
Joined: Sun Apr 11, 2004 11:17 pm

Post by V Arun »

For example the mail body is like below line.

Total sale for 'Yesterday' was US$xxxx.

In place of yesterday I would like to display the actual date using macros. %ddmmyyyy% works perfectly with today's date. But [-1d] option is not working.

Thanks,
Arun
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You cannot use such expressions for the actions
http://www.ks-soft.net/hostmon.eng/mfra ... #timemacro
I have added your request into "to do" list

Regards
Alex
Post Reply