Solved

time in asp.net

Posted on 2009-04-13
6
377 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question about JQuery and asp.net 3 31
VB.NET 2008 - SQL Timeout 9 34
Winforms -- Capture CTRL+SHIFT+D at the form not working? 3 26
asp Google Map 2 32
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 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