Solved

Get Network Computer Date Time

Posted on 2004-10-13
2
477 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
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Title # Comments Views Activity
Delphi - replicating a form 8 82
TServerSocket - file via sendbuf or Text via sendtext ? 1 66
enhance the following code 3 37
Browsing a TTreeView in Delphi 5 9
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 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