Solved

Pull current time from Server clock

Posted on 2003-11-17
4
199 Views
Last Modified: 2010-05-01
I have a timecard program that gets the time from a user's workstation but of course this could cause problems if the person decides to change his clock backwards or forwards.

how can i get the time from server "\\server" ?
i tried some other guys code that used the NetRemoteTOD command but i think the code was wrong so it was pulling the time from my workstation instead of the server.

please help. thank you,
jeremy
0
Comment
Question by:daleyjem
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
Dang123 earned 50 total points
ID: 9765522
0
 
LVL 9

Expert Comment

by:Dang123
ID: 10164468

    Did the link I posted help?
0
 
LVL 4

Author Comment

by:daleyjem
ID: 10166918
i found a solution that actually works better than that, but i lost my source code. i have the .exe compiled already and running right now, but i wish i could show you what i did. it was all mostly copy and paste for me, and i can't even remember where i got the sample code that i copied, but i'm gonna go ahead and give you the points 'cause you at least tried and i hate the hastle.

the link i went to seemed a little helpful, but when i actually got the code downloaded, it was missing an .ocx file i think and oh well...here ya go.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question