CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002
    Location
    Israel
    Posts
    396

    Question ow to get local time from internet?

    Hi,
    I created a small application that limit the game time so my kid will not play between times i will set(16:30-20:00). (He dont stop playing Combat Arma EU....)
    So its working great but he is a smart kid and he changed the time in the computer so i need to find a solution for this kind of problem...
    Is there a way to know \ get the local time from the internet?
    If not can you think about other way to get over this problem i am facing?
    Thanks

  2. #2
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    Re: ow to get local time from internet?

    First, look here.

    Internet Time

    Since you already have an application to stop the game, put a time function in that application to check the internet time and re-set the system clock. That way if he changes it, it will reset it.

  3. #3
    Join Date
    Sep 2002
    Location
    Israel
    Posts
    396

    Re: ow to get local time from internet?

    Hi,
    thanks that what i wanted to do but i already know about this option but dont know how to use it in my VB.Net code.
    Will it be better to download the nistime-32bit.exe and use it? (The computer can be 32 or 64, we have more then one computer at home).
    Is there somthing in the framworks that i can use?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured