473,657 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

is there a webservice for get the current time?

Hi All,

is there a webservice for get the current time?

I am looking to get the current time via a webservice and then set the time
of the server.

Regards,
Mekim
Nov 21 '05 #1
7 8379
What kind of server are you using? Windows Servers can keep their own time
updated already.
"mekim" <me***@discussi ons.microsoft.c om> wrote in message
news:B1******** *************** ***********@mic rosoft.com...
Hi All,

is there a webservice for get the current time?

I am looking to get the current time via a webservice and then set the
time
of the server.

Regards,
Mekim

Nov 21 '05 #2
Mekim wrote:
is there a webservice for get the current time?


You can find some sample Web services at Xmethods [1]. Check out the "full
list" link. There is, e.g., a WorldTime service. Of course there are no
guarantees about propagation time, etc.

Cheers,
Stuart Celarier, Fern Creek

[1] www.xmethods.net
Nov 21 '05 #3
Hi Scott,

That's assuming it works...if someone set it...etc

I need to force it...so that reports we generate on two different servers
are in sync

I was hoping for a time server that exposed a webservice for time

Regards
Mekim

"Scott M." wrote:
What kind of server are you using? Windows Servers can keep their own time
updated already.
"mekim" <me***@discussi ons.microsoft.c om> wrote in message
news:B1******** *************** ***********@mic rosoft.com...
Hi All,

is there a webservice for get the current time?

I am looking to get the current time via a webservice and then set the
time
of the server.

Regards,
Mekim


Nov 21 '05 #4
Hi Stuart,

Hmmm...interest ing..but there are no public time servers that publish a
webservice?

Regards,
Mekim

"Stuart Celarier" wrote:
Mekim wrote:
is there a webservice for get the current time?


You can find some sample Web services at Xmethods [1]. Check out the "full
list" link. There is, e.g., a WorldTime service. Of course there are no
guarantees about propagation time, etc.

Cheers,
Stuart Celarier, Fern Creek

[1] www.xmethods.net

Nov 21 '05 #5
Then who is going to "force" your service to run? Why not just set a GPO
for the servers that "force" them to adjust their time according to a time
server?
"mekim" <me***@discussi ons.microsoft.c om> wrote in message
news:8C******** *************** ***********@mic rosoft.com...
Hi Scott,

That's assuming it works...if someone set it...etc

I need to force it...so that reports we generate on two different servers
are in sync

I was hoping for a time server that exposed a webservice for time

Regards
Mekim

"Scott M." wrote:
What kind of server are you using? Windows Servers can keep their own
time
updated already.
"mekim" <me***@discussi ons.microsoft.c om> wrote in message
news:B1******** *************** ***********@mic rosoft.com...
> Hi All,
>
> is there a webservice for get the current time?
>
> I am looking to get the current time via a webservice and then set the
> time
> of the server.
>
> Regards,
> Mekim


Nov 21 '05 #6
Hi Scott,

Legit question...howe ver...becuz if I am running on a shared IIS machine...I
don't have that kind of access

Regards,
Mekim
"Scott M." wrote:
Then who is going to "force" your service to run? Why not just set a GPO
for the servers that "force" them to adjust their time according to a time
server?
"mekim" <me***@discussi ons.microsoft.c om> wrote in message
news:8C******** *************** ***********@mic rosoft.com...
Hi Scott,

That's assuming it works...if someone set it...etc

I need to force it...so that reports we generate on two different servers
are in sync

I was hoping for a time server that exposed a webservice for time

Regards
Mekim

"Scott M." wrote:
What kind of server are you using? Windows Servers can keep their own
time
updated already.
"mekim" <me***@discussi ons.microsoft.c om> wrote in message
news:B1******** *************** ***********@mic rosoft.com...
> Hi All,
>
> is there a webservice for get the current time?
>
> I am looking to get the current time via a webservice and then set the
> time
> of the server.
>
> Regards,
> Mekim


Nov 21 '05 #7
Set one of your servers to be the time server, and sync the other to this
one via your own time service

Jeff

"mekim" <me***@discussi ons.microsoft.c om> wrote in message
news:8C******** *************** ***********@mic rosoft.com...
Hi Scott,

That's assuming it works...if someone set it...etc

I need to force it...so that reports we generate on two different servers
are in sync

I was hoping for a time server that exposed a webservice for time

Regards
Mekim

"Scott M." wrote:
What kind of server are you using? Windows Servers can keep their own time updated already.
"mekim" <me***@discussi ons.microsoft.c om> wrote in message
news:B1******** *************** ***********@mic rosoft.com...
Hi All,

is there a webservice for get the current time?

I am looking to get the current time via a webservice and then set the
time
of the server.

Regards,
Mekim


Nov 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1327
by: Sergi Adamchuk | last post by:
I need determine which web service (class WebService or its inheritors) serveces current request (I need Type instance of class that serves request). For example you wrote your own WebService: public class MyService : WebService .... Now I need to know the Guid of WebService class that serves current
1
2102
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS) First project is a webService. Second consumes the webservices by the first.
9
8266
by: MMesich | last post by:
I've got an order entry webservice whose WSDL looks like this: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <OrderSubmit xmlns="http://tempuri.org/WebServices/beta"> <varCustNum>string</varCustNum> <varPassword>string</varPassword>
5
19581
by: Stacey Levine | last post by:
I have a webservice that I wanted to return an ArrayList..Well the service compiles and runs when I have the output defined as ArrayList, but the WSDL defines the output as an Object so I was having a problem in the calling program. I searched online and found suggestions that I return an Array instead so I modified my code (below) to return an Array instead of an ArrayList. Now I get the message when I try to run just my webservice...
3
2256
by: Mark | last post by:
I'm consuming a webservice that makes a simple object available. The object class is marked in the web service as . I have a web application that consumes and uses this web service's class. When I receive the object from the web service, I'm interested in storing that object in ViewState in the web application, but I receive the error below. I'm not shocked that the web application can't serialize the object as the attribute isn't...
5
17116
by: Preben Zacho | last post by:
Anyone that has a link or description that simply as possible shows how to add a web reference to a class library in C# and consuming it? TIA PZ
7
1565
by: Nick | last post by:
Hi there, Is it possible to tell how a WebMethod was invoked? For example I would like to determin if it was invoked via SOAP or HTTP Post. Other than creating 2 methods I am no sure if I can do this. Many thanks for your time. Nick.
2
2262
by: Mike Endys | last post by:
Hi all, have problem to use login to the web service. Im thinking about the web service that provides datas and files to the WinForm Client. I want the client log-in to the application... here is my not-working solution this is my web service, with the Forms authentication and working on AspSqlMembershipProvider and with Role provider implemented too. It is working well. I can create user, I can ValidateUser... But I would like, that...
0
8413
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8513
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7352
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.