From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20338 invoked from network); 18 May 1999 14:06:05 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 May 1999 14:06:05 -0000 Received: from mail13.digital.com (mail13.digital.com [192.208.46.30]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id JAA18920 for ; Tue, 18 May 1999 09:27:37 -0400 Received: from reohub2.reo.dec.com (reohub2.reo.dec.com [16.37.21.19]) by mail13.digital.com (8.9.2/8.9.2/WV2.0g) with ESMTP id JAA23065; Tue, 18 May 1999 09:27:32 -0400 (EDT) Received: by reohub2.reo.dec.com with Internet Mail Service (5.5.2559.0) id ; Tue, 18 May 1999 14:27:31 +0100 Message-ID: <15AD5D7936F8D21198240000F831776E3E78FE@dboexc1.dbo.dec.com> From: Paul Jakma To: "'axp-list@redhat.com'" , "'franco@dns.rgn.it]'" Subject: RE: Converting time (since 01-01-1970) to Epoch Date: Tue, 18 May 1999 14:27:11 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2559.0) Content-Type: text/plain hi franco, You have little time work to do. Epoch is 00:00 01/01/70. It's a fairly standard UNIX thing. The linux time system call returns the time in seconds since epoch, just as SGI does. There is a more general time_t structure in the C library which should be fairly identical between sgi and linux. see the strftime strptime C library call's for more info on how to convert and format time. regards, paul. > ---------- > From: Franco Tassone[SMTP:franco@dns.rgn.it] > Reply To: axp-list@redhat.com > Sent: 18 May 1999 13:20 > To: axp-list@redhat.com > Subject: Converting time (since 01-01-1970) to Epoch > > Sorry, this is a little bit off-topic, but ... > I'm porting some softwares running on SGI platform Irix 6.2 to AlphaLinux, > and I've got a uncredible problem: > SGI runs on time rapresentation a seconds size 01-01-1970, and I've to > convert various data files for Epoch's date rapresentation, as in Linux. > Does anybody can help me in doing this, please ? > Thanks in advance. > ------------------------------------------------------------- > Franco Tassone Tel: +39-085-4510954 > RGNetWork Internet Service Provider Fax: +39-085-64070 > Via G. D'Annunzio, 162 e-mail: admin@rgn.it > 65127 PESCARA (ITALY) URL: http://www.rgn.it > ------------------------------------------------------------- > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com >