comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Get time and date from a server using a socket
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Get time and date from a server using a socket [message #65407 is a reply to message #65343] Sat, 28 February 2009 14:01 Go to previous message
DMW is currently offline  DMW
Messages: 1
Registered: February 2009
Junior Member
"Allan Whiteford" <allan.remove@phys.remove.strath.ac.remove.uk> wrote in
message news:go8b7n$is7$1@menace.cc.strath.ac.uk...
> bernat wrote:
>
> The following works for me:
>
> IDL> socket, lun, 'time-a.nist.gov', 13, /get_lun
> IDL> mystring=''
> IDL> readf, lun, mystring
> IDL> readf, lun, mystring
> IDL> free_lun, lun
> IDL> print, mystring
> 54889 09-02-27 08:52:23 00 0 0 807.6 UTC(NIST) *
>
Something's wrong here. With the change to DST in the U.S. and Canada only
a couple of weeks away, why is the DST field set to 00? As of today it
should read 58 if I understand the formatting correctly.

It's not just *.nist.gov servers that are displaying this. bldrdoc.gov is
doing the same.


Brian Garrett
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Fractions in IDL
Next Topic: Get time and date from a server using a socket

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Dec 02 06:09:39 PST 2025

Total time taken to generate the page: 1.20276 seconds