It depends what kind of server, do you mean any regular http web server or specific NTP timeserver?
For any http server you can read the date and time from the http response header using the HTTP library. See attached example.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.