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.
 
Back
Top