Re: Unix Time assistance


Subject: Re: Unix Time assistance
bryan@ak.net
Date: Tue Apr 22 2003 - 16:15:19 AKDT


On Tue, Apr 22, 2003 at 03:05:30PM -0800, furbs <furbs@swjedi.net> wrote:
>
> Yes, the method below is incorrect. I can figure out the time, and the days are
> 11315. I just need to figure out how to convert that number into a date. To
> make up for leap years, its "days div 365.25 = years+1970". The part I can't
> figure out now is the month and day of month. Ideas?

Since this is a Linux Users' Group, have you considered looking at
the source to see how the actual OS does it? Maybe the man pages
would even cover the algorithm; I don't know.
Good luck.

--
Bryan Medsker
bryan@ak.net

--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Tue Apr 22 2003 - 16:15:00 AKDT