System Time 
Author Message
 System Time

Hey,

How can I set OS system time programmatically?

Thanks

Anders



Sat, 20 Nov 2004 04:27:36 GMT  
 System Time
only with PInvoke
  http://groups.google.com/groups?selm=%23PxZdaAACHA.1848%40tkmsftngp05

and why do this?
note, some PC (2000/XP) have a time service running
to sync from internet...
so your time could jump back and forward!

--
  NETMaster  (Thomas Scheidegger)
  http://www.cetus-links.org/oo_CSharp.html

Quote:

> How can I set OS system time programmatically?



Sat, 20 Nov 2004 08:12:26 GMT  
 System Time

Quote:
>only with PInvoke
>  http://groups.google.com/groups?selm=%23PxZdaAACHA.1848%40tkmsftngp05

>and why do this?
>note, some PC (2000/XP) have a time service running
>to sync from internet...
>so your time could jump back and forward!

I could not get "net time /setsntp" to work, therefore I decided to
make my own time sync service.

regards
Anders



Sat, 20 Nov 2004 15:06:18 GMT  
 System Time
Quote:
> make my own time sync service.

synchronizing time should be a system task
and not be done by any .NET user app.
So it is a waste of time...
 (except if you want to learn the NTP/SNTP protocols)

for 2000 & XP, check (WORD.DOC)
  http://www.microsoft.com/windows2000/docs/wintimeserv.doc

  http://support.microsoft.com/default.aspx?scid=kb;EN-US;q314054

for Win9x there are freeware/$ tools

--
  NETMaster  (Thomas Scheidegger)
  http://www.cetus-links.org/oo_csharp.html

Quote:

> >only with PInvoke
> >  http://groups.google.com/groups?selm=%23PxZdaAACHA.1848%40tkmsftngp05

> >and why do this?
> >note, some PC (2000/XP) have a time service running
> >to sync from internet...
> >so your time could jump back and forward!
> I could not get "net time /setsntp" to work, therefore I decided to
> make my own time sync service.



Sat, 20 Nov 2004 17:07:02 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Minimum Wait Time (System Time Resolution)

2. Correct time counting when system time is changing

3. icon in the taskbar notification area(where we see the system time) (Urgent Help)

4. Setting system time.

5. getting and useing system time

6. C function for system time

7. accessing system time using c

8. VB6 System Time

9. System time independent Timer

10. Grabbing the system time?

11. How to Get system time in C#?

12. system Time capture

 

 
Powered by phpBB® Forum Software