JCL Help:TJclMultimediaTimer.GetTime

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the current time.


Pascal

 public class function GetTime: Cardinal;


Return Value

The time since Windows was started, in milliseconds.


Description

The GetTime class function returns the current system time, in milliseconds. In this context the system time is the time since Windows was started. Note that since this is only a 32 bit integer, the time will wrap around after approx. 50 days. Note that the return value has a default precision of 5 ms on Windows NT and a precision of 1 ms on Windows 95. The precision can be altered (on Windows NT only) using the BeginPeriod class function. In addition, the class maintains a period property which is automatically applied when BeginTimer is called. For more details see the BeginPeriod, EndPeriod methods and the Period property.


About

Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page