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?
patricksdAsked:
Who is Participating?
 
nschulz777Connect With a Mentor Commented:
I haven't tried it but found this:
http://www.commedia.pt/ce/udts1.html
Norm
0
 
Arthur_WoodCommented:
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#

0
 
Arthur_WoodCommented:
oops, minor typo:


Date = #12/30/2001# '  set the Date to Dec 30, 2001
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

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

AW

0
 
nschulz777Commented:
Hello Patrick, I'm looking for the same solution, have you found one yet?
0
 
patricksdAuthor Commented:
No solution, as I am guessing it can't be done.
0
All Courses

From novice to tech pro — start learning today.