How to get time from the network server?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to get time from the network server?

  1. #1
    Join Date
    May 2005
    Posts
    5

    How to get time from the network server?

    Hi all,

    I am going to create an application in vb6 for my employer. I need to monitor start time and end time of each and every employee. If I use the system time there is a way to change the system time by every user and they can enter the wrong start, end time. I cannot have permission to restrict the user to change the system time. so I need to get the time from the network server/from the client. The users doesn't have internet access. How can I do that? Pls help me.

    Thanks,

    CS.

  2. #2
    Join Date
    Dec 2003
    Posts
    2,750
    You should be able to use the NetRemoteTOD API function call:

    http://vbnet.mvps.org/code/network/netremotetodsync.htm
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center