Click here to Skip to main content
12,240,822 members (67,123 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET4
hi
how get server time in host? or how get time and date in a website that adjust date or time (example time.windows.com)

[TextBox6.Text = DateTime.Now.ToString();] this is client date and time , i want server date & time
Posted 25-Feb-13 1:16am
Comments
Sandeep Mewara 26-Feb-13 0:15am
   
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can try this.
DateTime.UtcNow
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160426.1 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100