The time data type TIME is treated internally as DWORD. In the case of TIME, this leads to a resolution in milliseconds.
The time data type LTIME is treated internally as LWORD. In the case of LTIME, this leads to a resolution in nanoseconds. You can use the data type LTIME as a time base for high-resolution timer. A high-resolution timer has a resolution in nanoseconds.
|
Data Type |
Lower Limit |
Upper Limit |
Memory |
Resolution |
Description |
|---|---|---|---|---|---|
|
|
|
|
32-bit |
Milliseconds |
Syntax: Syntax: Syntax: Syntax: |
|
|
|
|
64 bit |
Nanoseconds |
Syntax: Syntax: |
Example 208. Example
T#1D2H3M4S T#49D17H2M47S295MS LTIME#1000D15H23M12S34ms2us44ns LTIME#213503D23H34M33S709MS551US615NS
For more information, see: Constant: TIME, LTIME, TIME, LTIME