Solved

Get Network Computer Date Time

Posted on 2004-10-13
2
478 Views
Last Modified: 2010-04-04
assuming my LAN network has 5 computers.... Computer A is one of these 5 ...
how can i get the local date time of Computer A via Delphi ?

a := formatdatetime('mm dd yyyy hh:nn:ss',now);

now is the time of my computer ....

what if i want to get the current date time of Computer A and format it ....

thanks
0
Comment
Question by:ivylnm
[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 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12305484
some time on a LAN, you can use NTP (Network Time Protocol). Indy have a classes for network time - TIdTimeServer, TidTime and TIdSNTP for time syncronization.
0
 
LVL 11

Accepted Solution

by:
calinutz earned 125 total points
ID: 12305655
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

734 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