How to send email Notification with below date and Time format in header of email
2020-12-31 01-30-25 PM
I am able to derive time by creating 3 local variables then concatenating them but time is displaying in 24-hr format %%HOURS %%SUBSTR %%TIME 1 2 %%MINUTES %%SUBSTR %%TIME 3 2 %%SECONDS %%SUBSTR %%TIME 5 2
Contaminating above local variables %%HOURS.:%%MINUTES.:%%SECONDS
Thanks Nagaraj
I am afraid that is the only system variable that Control-M supplies (in terms of time). To be honest, there's not much demand for 12 hour based times. The only way would be to set your own Control-M user variable by displaying the system time and setting the variable like so (the pre- or post command field is good for this).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.