RTime


Contents


Introduction and Overview

RTime is used to request the current time from a remote server and set the system time to that. RTime can request the time using the Time protocol (RFC 868) or the Simple Network Time Protocol (RFC 1361).


System variables


Inet$NTPServer

Server which talks SNTP to request time from
Use

This system variable contains the name of a server which talks SNTP from which the current time may be requested. It may be configured automatically by the system from network parameters (for example by BOOTP) or explicitly by the user.

Related * commands
*RTime
Related system variables
Inet$TimeServer

Inet$TimeServer

Server which talks Time protocol to request time from
Use

This system variable contains the name of a server which talks using the Time protocol from which the current time may be requested. It may be configured automatically by the system from network parameters (for example by BOOTP) or explicitly by the user.

Related * commands
*RTime
Related system variables
Inet$NTPServer

*Commands


*RTime

Request current time from remote server
Syntax
*RTime [-help] [-udp] [-ntp] [-quiet] [-noset] [<host>]
Parameters
-help -Display help on the command
-udp -Use UDP (default is TCP)
-ntp -Use Network Time Protocol (default is Time protocol)
-quiet -Don't display time after fetching it
-noset -Don't set the system time after fetching it
<host>-Host to request time from
Use

This command requests the time from a remote server.

Example
*RTime ntp.bingle.org
Related system variables
Inet$NTPServer, Inet$TimeServer

Document information

Maintainer(s): RISCOS Ltd <developer@riscos.com>
History:
RevisionDateAuthorChanges
1ROLInitial version
Disclaimer:

Copyright © Pace Micro Technolgy plc, 2002.
Portions copyright © RISCOS Ltd, 2002.
Published by RISCOS Limited.
No part of this publication may be reproduced or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, or stored in any retrieval system of any nature, without the written permission of the copyright holder and the publisher, application for which shall be made to the publisher.