Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Client Date

Is there a way to get the client date using ASP.NET?  I want to get the date before the 1st page is rendered.  I tried to get the information from the global.asax without success.
Ray Turner
Ray Turner
1 Solution
Paul JacksonCommented:
As ASP.Net runs on the server side you are always going to get the server date/time rather than the client date/time.

You can get the client time with javascript however :

Ray TurnerSenior ConsultantAuthor Commented:

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now