Solved

Get Network Computer Date Time

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now