Solved

time in asp.net

Posted on 2009-04-13
6
358 Views
Last Modified: 2012-05-06
i want to show my server's time in asp.net label
and tick it
live
0
Comment
Question by:chandresh43
  • 2
  • 2
6 Comments
 
LVL 48

Expert Comment

by:jpaulino
Comment Utility
Hi chandresh43,

You can use an AJAX timer. Check this video that shows how to do it: http://www.asp.net/learn/ajax-videos/video-99.aspx
0
 
LVL 12

Expert Comment

by:williamcampbell
Comment Utility
0
 
LVL 5

Author Comment

by:chandresh43
Comment Utility
i don't to use current time of user computer using my server's time
in asp
0
 
LVL 12

Accepted Solution

by:
williamcampbell earned 500 total points
Comment Utility
You can setup a WebService on the Server Side to return the Servers time

Start a Simple  WCFWeb Service  Project it comes with one Webservice already in it called hello.
You can modify this to return DateTime.Now instead of Hello.

Publish the project to your IIS server

You Can now modify the code link I sent you to call the webservice instead of  aDtaTime.Now

Let me know if you need any help with this

0
 
LVL 5

Author Comment

by:chandresh43
Comment Utility
please give example
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now