Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

easytrieve time comparison question

Status
Not open for further replies.

rcbstuff

Programmer
Jan 11, 2006
1
US
What is the best way to compare the system time to the end time of job on a 24 & 36 hour clock?.

Example, you want to see if a job is complete by 1 A.M., because it it's not complete then it is considered to be delayed. If the job ends at 11:30 P.M. then it is not delayed or late. But how would you check this?

I know you can create an if statement that would check the end time of to 0100. But this if statement would not work since 2330 is greater than 0100.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top