Return the Current Time Exact to the Millisecond

Category:
Dates and Math
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility:

More information:
This basically shows you how to get time to the millisecond. It returns a time string that includes hour, minute, second, and millisecond, but you can easily change it to just return millisecond, or add Month, Day, and/or Year as well.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: