Mainframe Commands

RTC (Real-time Clock)

 

RTC (Real-time Clock)

Command

:RTC <day>,<month>,<year>,<hour>,<minute>,<second>

 

The real-time clock command allows you to set the real-time clock to the

 

current date and time.

<day>

integer from 1 to 31

<month>

integer from 1 to 12

<year>

integer from 1990 to 2089

<hour>

integer from 0 to 23

<minute>

integer from 0 to 59

<second>

integer from 0 to 59

 

 

Example

This example sets the real-time clock for 1 January 1992, 20:00:00 (8 PM).

 

OUTPUT XXX;":RTC 1,1,1992,20,0,0"

 

 

Query:RTC?

The RTC query returns the real-time clock setting.

Returned Format [:RTC] <day>,<month>,<year>,<hour>,<minute>,<second>

Example

OUTPUT XXX;":RTC?"

 

 

10–20

Page 152
Image 152
HP Sander 16500C manual RTC Real-time Clock