Solved

Get Network Computer Date Time

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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…

758 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

22 Experts available now in Live!

Get 1:1 Help Now