Results 1 to 2 of 2

Thread: Retrieve date & time from internet

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    2

    Question

    Is there any way I can get the date and time off the internet instead of off the local computer? I don't want the date to be changable, as the amount of time between runnings of the program is important.
    ==========================
    Cartesia
    ==========================

  2. #2
    Lively Member
    Join Date
    Nov 1999
    Location
    Melbourne, Victoria, Australia
    Posts
    126

    Cool

    Most organisations have free NTP servers, which you can connect to and get the time from their server, many such as csiro, nasa etc have these servers to use.

    As far as I know you connect on port 17 and the server sends you its real time clock (atomic time) and you just simply set your pc to that time.

    Look up NTP RFC's for exact info on correct syntax and workings of an NTP server and also a list of servers in your area for NTP servers. this is possible as i've done it before....
    Regards,

    Paul Rivoli
    ---------------------
    [email protected]
    http://members.dingoblue.net.au/~privoli

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