Getting date/time from server

  • Thread starter Thread starter Max Sandman
  • Start date Start date
M

Max Sandman

I need to make sure that the date/time that's displayed on an internal
webpage is using the "official" server time and not the user's
workstation time. But I can't find out how to get it. Surely there's a
way?

sandman
 
Max Sandman said:
I need to make sure that the date/time that's displayed on an internal
webpage is using the "official" server time and not the user's
workstation time. But I can't find out how to get it. Surely there's a
way?

If you just use DateTime.Now executing at the server, you'll find the
server's time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top