Solved

Date Change

Posted on 2001-09-17
5
143 Views
Last Modified: 2010-05-02
I want to make my program change the system time on my machine then run a program then sync backup with my PDC?
0
Comment
Question by:mtbuford
  • 2
  • 2
5 Comments
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 50 total points
ID: 6488432
changint the system Time on YOUR PC is actually remakably easy:

use the Time function:

Time = "12:00:00"

will do it.

0
 

Author Comment

by:mtbuford
ID: 6488437
What about date?
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 6488441
almost the same thing:

Date = #12/25/01#
0
 
LVL 5

Expert Comment

by:rkot2000
ID: 6488442
date function :
date = #01-11-2001#
0
 

Author Comment

by:mtbuford
ID: 6488459
What about date?
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question