Link to home
Start Free TrialLog in
Avatar of patricksd
patricksd

asked on

How to set the system date and time on a Pocket PC within eVB program?

I want to be able to program the system date and time within my eVB program, as opposed to shelling out to settings/clock. I don't care about the interface, just the commands to set the system date/time and what the variable format needs to be in. It seems like a simple task, but I couldn't find any reference to do this. Any ideas?
Avatar of Arthur_Wood
Arthur_Wood
Flag of United States of America image

you an use the Date function, to set the Date:

Date = #12/30/2001"   set the Date to Dec 30, 2001

You can also do this with Now

Now = #12/30/2001 12:00:00PM#

oops, minor typo:


Date = #12/30/2001# '  set the Date to Dec 30, 2001
Avatar of patricksd
patricksd

ASKER

I tried that already thinking it was so obvious, but I get an - Illegal assignment: 'Date' error. What am I doing wrong?
maybe that was removed as a potentail 'loophole' in eVB.  Worth a shot.

AW

Hello Patrick, I'm looking for the same solution, have you found one yet?
No solution, as I am guessing it can't be done.
ASKER CERTIFIED SOLUTION
Avatar of nschulz777
nschulz777

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial