So, you know the time in NY, but not the correct local time, the offset from
NY, or the correct GMT? It sounds like what you want to do is convert the
NY time to GMT and then use SetSystemTime() on the device. This will tell
the device, in combination with its time zone settings, what its local time
should be.
The OpenNETCF library has the necessary declarations to do much of this.
Only the conversion from NY time to GMT would have to be your
responsibility. Are you sure that you can't get the current time in GMT
instead? That's a *far* more standard time reference and you could set the
time with a single line of code:
OpenNETCF.Win32.DateTimeEx.SetSystemTime( gmt );
Paul T.