Write date to system

fatman

Active Member
Licensed User
Longtime User
Hi folks,

I know how to READ a date from the device for example:
DateFormat("yyyy-mm-dd")
actualdate = Date(Now)

But how can I WRITE a date to the system?

Any hints are welcome. Thanx!

Fatman
 

mjcoon

Well-Known Member
Licensed User
Hi folks,

I know how to READ a date from the device for example:
DateFormat("yyyy-mm-dd")
actualdate = Date(Now)

But how can I WRITE a date to the system?

Any hints are welcome. Thanx!

Fatman

I have written programs to set the time from an internal or external GPS and I used the SysTime DLL. It has separate SetDate and SetTime methods which is a bit naff. (Because time will progress whichever one you do first; best not to use either near midnight!)

Mike.
 

fatman

Active Member
Licensed User
Longtime User
Thanks Mjcoon for your fast reply.
I just found "OnTime library" by Derez and I will try this.

Fatman
 
Top