Difference between variables ESPATIME and REALNOW?
search cancel

Difference between variables ESPATIME and REALNOW?

book

Article ID: 55463

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

Differences between ESPATIME and REALNOW?

Resolution

Both of them represent the actual time at the moment of their evaluation.

  • REALNOW returns a value of the actual time and date together.
  • ESPATIME returns a value of actual time only, then ESP uses the application generation date to get the completed timestamp.

NOTE:  When you use these variables within the free-form time criteria, an unexpected result may happen. 

Example: LATEEND('%ESPATIME PLUS 15 MIN') might bring an unexpected result into the application that has been active for more than one day.

The results of the REALNOW variable will always be the same as the ESPATIME used in conjunction with the ESPADATE %ESPADATE%ESPATIME equals REALNOW but %ESPATIME equals REALNOW if it is evaluated the same day that the application was generated only.