I want to ask a server, whose IP I know, to send the date and time to a client.
How can I implement this in Java?
To start with you'll need to clarify (for yourself as much as anything):
Once you've answered those questions, (and more I'm sure), it'll be easier to answer how to do it in java.
Update
The updated question is much clearer.. nice.