frdep
asked on
Time calculation
Hi, Ā
How can I calculate how many minutes between now and 5 pm the same day ?
Thanks
How can I calculate how many minutes between now and 5 pm the same day ?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
date1 := Date + EncodeTime(17, 0, 0, 0);
date2 := Now;
ShowMessage(IntToStr(Trunc