/ 
/ 
/                   FIRST PRINTING, FEBRUARY 1974
/ 
/ THE INFORMATION IN THIS DOCUMENT IS SUBJECT TO 
/ CHANGE WITHOUT NOTICE AND SHOULD NOT BE CONSTRUED
/ AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
/ DIGITAL EQUIPMENT CORPORATION ASSUMES NO RESPON-
/ SIBILITY FOR ANY ERRORS THAT MAY APPEAR IN THIS
/ DOCUMENT.
/ 
/ THE SOFTWARE DESCRIBED IN THIS DOCUMENT IS FUR-
/ NISHED TO THE PURCHASER UNDER A LICENSE FOR USE ON
/ A SINGLE COMPUTER SYSTEM AND CAN BE COPIED (WITH
/ INCLUSION OF DIGITAL'S COPYRIGHT NOTICE) ONLY FOR 
/ USE IN SUCH SYSTEM, EXCEPT AS MAY OTHERWISE BE PRO-
/ VIDED IN WRITING BY DIGITAL.
/ 
/ DIGITAL EQUIPMENT CORPORATION ASSUMES NO RESPONSIBILITY
/ FOR THE USE OR RELIABILITY OF ITS SOFTWARE ON EQUIP-
/ MENT THAT IS NOT SUPPLIED BY DIGITAL.
/ 
/ COPYRIGHT (C) 1974, BY DIGITAL EQUIPMENT CORPORATION
/ 
/ 
        .EJECT
/ EDIT #5
/
/ COPYRIGHT DIGITAL EQUIPMENT CORP., MAYNARD, MASS.
/
/ OTS "DATE"         10 OCT 71           R. MC LEAN
/			1 MAR 73	 T. MURRAY
/
/ OTS ROUTINE TO RETRUN THE DATE & TIME IN A 6-WORD ARRAY
/
/	CALLING SEQUENCE:
/		CALL DATE(ARRY)
/			EL1= DAY
/			EL2= MONTH
/			EL3= YEAR
/			EL4= HOUR
/			EL5= MINUTE
/			EL6= SECONDS
/
	.GLOBL	DATE,.DA
/
DATE	0
	JMS*	.DA	/PICK UP CALLER'S ARGUMENTS
	JMP	ARGEND	/SKIP OVER ARGUMENTS
ARRY	0
/
ARGEND	CAL	FDAT
/
	LAC	MO	/MOVE DATE
	DAC*	ARRY
	ISZ	ARRY	/POINT TO THE NEXT ELEMENT
	LAC	DA
	DAC*	ARRY
	ISZ	ARRY
	LAC	YR
	DAC*	ARRY
	ISZ	ARRY
	LAC	HH	/MOVE TIME
	DAC*	ARRY
	ISZ	ARRY
	LAC	MM
	DAC*	ARRY
	ISZ	ARRY
	LAC	SS
	DAC*	ARRY
/
	JMP*	DATE	/RETURN
/
FDAT	0024	/CPB TO FETCH DATE & TIME
	0
MO	XX
DA	XX
YR	XX
HH	XX
MM	XX
SS	XX
/
	.END
