; setup the date/time
; Description: Set the start and end times appropriately
; Return: None
; Parameters:
; INASTART = The asking start date from user
; INAEND = The asking end date from user
; ( must be passed in by reference because they will
; be adjusted, i.e. INAEND=T will become INAEND=T@2400 )
; INSTART = The reference start date to be searched in ^INTHU
; INEND = The reference end date to be searched in ^INTHU
INT
;Read time interval
PARM()
;Get parameters
DES
;Get multiple destinations
DET
;Detail yes/no
ST
;Display status list
STU
;Build status string
ST0
ST1
;get the status string to be printed as part of the header.
; INLN(3) = line 1
; INLN(4) = line 2
IEN(IEN,ASK)
;read date
GETRNG(START,STOP)
;get start & stop dates
PAGES
;Calculate number of pages for the report
; time periods * destenations * number of statuses * number of days \ 55