Display A Simple Real-time Clock With Date

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
These two sub procedures show how simple it is to implement a real-time clock and display the date as well. Just add two label controls and a timer control.

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

Declarations:

Code: