?
Solved

Date Change

Posted on 2001-09-17
5
Medium Priority
?
146 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 200 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

762 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