[JDEV] Jabber - Scripting Language

DJ Adams dj.adams at pobox.com
Mon Jun 11 10:01:06 CDT 2001


On Mon, Jun 11, 2001 at 08:08:06AM -0600, Todd Bradley wrote:
> > Number 5 on your list could be interesting. Any ideas of how 
> > to find the
> > time zone difference between the server and a client?
> 
> No, I have no idea how to ask the server what time
> it thinks it is.

Hi Todd

SEND: <iq type='get' to='jabber.org'>
        <query xmlns='jabber:iq:time'/>
      </iq>

RECV: <iq type='result' to='qmacro at jabber.org/Work' from='jabber.org'>
        <query xmlns='jabber:iq:time'>
          <utc>20010611T15:00:07</utc>
          <tz>PST</tz>
          <display>Mon Jun 11 08:00:07 2001</display>
        </query>
      </iq>

Cheers
dj



More information about the JDev mailing list