SYSCALLS/CAL - calendar routines 81/06/28
Include files:
Fortran: /sys/ins/cal.ins.ftn
Pascal: /sys/ins/cal.ins.pas
Procedures and Functions:
cal_$apply_local_offset (clock)
Adds the local offset (from UTC) to clock. Used to compute local time from
a UTC time.
cal_$clock_to_sec (clock), sec = ...
Converts system clock units to seconds.
cal_$decode_ascii_date (string, stringlength, year, month, day, status)
Decodes an ascii string containing a date specification.
cal_$decode_ascii_time (string, stringlength, hour, minute, second, status)
Decodes an ascii string containing a time specification.
cal_$decode_ascii_tzdif (string, stringlength, tz_dif, tz_name, status)
Decodes an ascii string containing a time zone difference specification.
cal_$decode_local_time (decoded_clock)
Decodes local time into year, month, day, hour, minute, second.
cal_$decode_time (clock, decoded_clock)
Decodes given clock into year, month, day, hour, minute, second.
cal_$encode_time (decoded_clock, clock)
Encoded year, month, day, hour, minute, second into system clock units.
cal_$float_clock (clock, float_seconds)
Converts a system clock representation to a double precision floating point
value, expressed in seconds.
cal_$get_info (timezone_info)
Returns system time zone info (name and offset from UTC.)
cal_$get_local_time (clock)
Returns local time, in system clock representation.
cal_$sec_to_clock (seconds, clock)
Converts seconds to system clock units.
cal_$weekday (year, month, day), weekday = ...
Computes day of week.
cal_$write_timezone (timezone_info, status)
Writes time zone info onto the boot volume.