Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!brl-smoke!smoke!Cherry.XSIS@xerox.arpa From: Cherry.XSIS@xerox.arpa Newsgroups: net.unix Subject: Adding Time and Date Message-ID: <3326@brl-smoke.ARPA> Date: Tue, 26-Aug-86 14:38:23 EDT Article-I.D.: brl-smok.3326 Posted: Tue Aug 26 14:38:23 1986 Date-Received: Wed, 27-Aug-86 20:54:23 EDT Sender: news@brl-smoke.ARPA Lines: 15 I am running Unify under Unix System 5 and I have run into a bit of a problem... The data which is of our primary concern is time and date. Unfortunately, Unify does not offer the capability to perform simple math on times/dates in such a manner that they will automatically carry or borrow in the proper manner so that I do not get 45 days per month or 56 hours per day. Does anybody have a C program or algorithm or formula which can assist me. I have written a few test programs but, they fail when the times exceed one year and I must admit I'm stuck. Any help would be appreciated. B.C. & Zot