[squeak-dev] How to get date/time from internet atomic clock

tim Rowledge tim at rowledge.org
Sat Jan 19 00:36:25 UTC 2013


On 18-01-2013, at 3:59 PM, Frank Shearar <frank.shearar at gmail.com> wrote:

> On 18 January 2013 23:45, Louis LaBrunda <Lou at keystone-software.com> wrote:
>> Hi All,
>> 
>> I'm getting a Raspberry Pi.  I think I may need and automatic way to set
>> the date and time.  I have some code in VA Smalltalk to get it from an
>> internet atomic clock server but before I try to port it to Squeak, I'm
>> wondering if there isn't already code present?
>> 
>> Also, if not, can someone please point me to some internet socket class to
>> use to talk to the atomic clock server (UDP).  Thanks in advance.
> 
> You could use ntp to connect to the clock, and talk to ntp?
Pretty much every OS  - yes, even RISC OS  - already does that, the time ought to be set before you even get a chance to start Squeak.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
AAAAAA - American Association Against Acronym Abuse Anonymous




More information about the Squeak-dev mailing list