Solved

Get Network Computer Date Time

Posted on 2004-10-13
2
479 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

717 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