Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

CAL_$GET_LOCAL_TIME               Domain/OS                CAL_$GET_LOCAL_TIME


NAME
     cal_$get_local_time - get the local time

SYNOPSIS (C)
     #include <apollo/base.h>
     #include <apollo/cal.h>

     void cal_$get_local_time(
          time_$clock_t *clock_value)

SYNOPSIS (Pascal)
     %include '/sys/ins/base.ins.pas';
     %include '/sys/ins/cal.ins.pas';

     procedure cal_$get_local_time(
          out clock_value: time_$clock_t);

SYNOPSIS (FORTRAN)
     %include '/sys/ins/base.ins.ftn'
     %include '/sys/ins/cal.ins.ftn'

           integer*2 clock_value(3), clockh
           integer*4 clockl

           equivalence (clockl, clock_value(2)), (clockh, clock_value(1))

           call cal_$get_local_time(clock_value)

DESCRIPTION
     Cal_$get_local_time supplies the local time in clock_value.  The local
     time is the system time with the local time zone offset added.

     clock_value
          The local time.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026