Conversion of Time Format
das13!dave
dave at das13.UUCP
Sun Mar 4 14:32:49 AEST 1990
In article <Mar.1.10.04.23.1990.25814 at paul.rutgers.edu>, dyu at paul.rutgers.edu (Delong Yu) writes:
>
> As you know, unix usee a long int to represent time(seconds from Jan
> 1, 1970) and there are some functions to convert this format to
> English-like format. But how to do the reverse conversion, anyone
> know some library function on AT&T SYSTEM V/386 or has any ideea how
> to do it?
I had to write the functions that you describe for a project I was working on.
No one owns the rights to these functions, so if you want them just ask.
Please keep in mind that these functions are accurate to the year 2452, after
that they mess up.
DAS
--
David Snyder UUNET: dave at das13.UUCP (das13!dave)
CIS: 74216,232
The ideal situation is to have real computing power close at hand - right at home. Something that dims streetlights and shrinks the picture on the neighbors TV when you crank it up.
More information about the Comp.unix.questions
mailing list