System time

V

Venue

I am using the following to set the system time on pocket pc 2003. How do I
tell it to set the US ET zone and not default GMT. Is there any pInvoke.

[DllImport("coredll.dll")]
public extern static uint SetSystemTime(ref SYSTEMTIME tm)
 
P

Paul G. Tobey [eMVP]

SetSystemTime() *always* sets the time relative to GMT. If you want to set
the local time, you need SetLocalTime().

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top