Solved

time in asp.net

Posted on 2009-04-13
6
370 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
ID: 24130546
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
ID: 24130979
0
 
LVL 5

Author Comment

by:chandresh43
ID: 24131776
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
ID: 24132222
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
ID: 24134864
please give example
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why is some text in blue in Visual Studio? 6 25
SQL Login 17 41
Page navigation in windows phone 8.1 application not working. 5 19
Video Player 2017 5 17
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

23 Experts available now in Live!

Get 1:1 Help Now