MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Getting the Date and Time From a Time Server

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120872] Re: Getting the Date and Time From a Time Server
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Sun, 14 Aug 2011 08:12:11 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201108131047.GAA25453@smc.vnet.net>
  • Reply-to: drmajorbob at yahoo.com

My computer is almost always connected to the Internet, and it keeps time  
(like any clock) between synchs.

I doubt that retrieving time from the Internet can be more accurate, given  
the communication latencies involved.

Do you think Import from a URL is instantaneous?

Bobby

On Sat, 13 Aug 2011 12:26:46 -0500, Gregory Lypny  
<gregory.lypny at videotron.ca> wrote:

> Hi Bobby,
>
> Thanks for responding, but I think DateList[] and Date[] retrieve the  
> date and time set on your computer.  If a computerâ??s date and time are  
> not updated by or synced to a time server, they will be off.  Iâ??m hoping  
> to use Import[] and URL to grab the date and time from an official time  
> server.  The reason I would use this is from Mathematica documents that  
> I share with collaborators and grad students who would use them to  
> export time-sensitive data.  I want the data to be date- and  
> time-stamped, and I cannot count on their computer clocks being accurate.
>
> Regards,
>
> Gregory
>
>
> On Sat, Aug 13, 2011, at 1:04 PM, DrMajorBob wrote:
>
>> Date[]
>>
>> Bobby
>>
>> On Sat, 13 Aug 2011 05:47:14 -0500, Gregory Lypny  
>> <gregory.lypny at videotron.ca> wrote:
>>
>>> Hello everyone,
>>>
>>> Is there a way to use the Import function to grab the current date and  
>>> time from a time server on the Internet?
>>>
>>> Regards,
>>>
>>> Gregory
>>>
>>>
>>>
>>
>


-- 
DrMajorBob at yahoo.com




  • Prev by Date: Re: Basic questions on _Plus and recursion
  • Next by Date: Re: Basic questions on _Plus and recursion
  • Previous by thread: Re: Getting the Date and Time From a Time Server
  • Next by thread: Re: Getting the Date and Time From a Time Server