Click here to Skip to main content
15,886,787 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
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

You can try this.
C#
DateTime.UtcNow
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900