![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Tue, Aug 9 2016 1:04 PM | Permanent Link |
Trinione | I can't figure out how to calculate the MilliSeconds Between a start time and the current time.
Any assistance would be appreciated. |
Wed, Aug 10 2016 1:50 AM | Permanent Link |
Michael Dreher | // Trinione wrote:
// I can't figure out how to calculate the MilliSeconds Between a start time and the current time. // Any assistance would be appreciated. var FStartTime : DateTime; milliseconds : integer; // ... FStartTime := Time(); milliseconds := integer(Time() - integer(FStartTime); |
Wed, Aug 10 2016 1:56 AM | Permanent Link |
Michael Dreher | // Trinione wrote:
// I can't figure out how to calculate the MilliSeconds Between a start time and the current time. // Any assistance would be appreciated. This should work (see code example): var FStartTime : DateTime; milliseconds : integer; // ... FStartTime := Time(); // milliseconds := integer(Time()) - integer(FStartTime); The resolution for Time() on my machine and my browser is ms (but is this the general case?), so it's a simple difference. Michael Dreher Attachments: Code.zip |
Wed, Aug 10 2016 9:43 AM | Permanent Link |
Trinione | Michael :
Yes. This works. I was using the Now function. Thank you very much. |
This web page was last updated on Friday, March 17, 2023 at 10:08 PM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |