Announcements
Hi,
I want to see if the Earliest Start / Date Time of a Job queue is older than 1 day ago. How do I do this?
For example
Todayy := CALCDATE('<CD-1D>',TODAY);
Time := Time;
"Earliest Start Date/Time" := CREATEDATETIME(Todayy,Time);
IntDifference := CURRENTDATETIME - "Earliest Start Date/Time";
IF IntDifference > 1 THEN
This example returns a high value integer not what I am expecting.
*This post is locked for comments
But why do you want to check job queue days, any specific reason.
Check this link, you need to calculate duration and convert it into hours and minutes
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156