vb: how to change system date and system time?
Website Design
Website Promotion
Graphic Design
Programming
Free Software
Computer Tips
Discount Stores
|
This site provides users with the information about vb, visual basic, vb6, change system date, change system time, how to change system date, how to change system time, and more.
If you think that this site is helpful, please recommend your friends to visit our site.
How to change system date and system time?
The following is the code for how to change system data and time:
1. Change system date
RealDate = Date$ 'save original date for later use
Date$ = "01/01/91"
MsgBox Date 'check out the changed date
2. Change system time
RealTime = Time$ 'save original time for later use
Time$ = "15:10:23"
MsgBox Time 'check out the changed time
|