Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Paul Jakma <Paul.Jakma@Digital.com>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>,
	"'franco@dns.rgn.it]'" <franco@dns.rgn.it]>
Subject: RE: Converting time (since 01-01-1970) to Epoch
Date: Tue, 18 May 1999 14:27:11 +0100	[thread overview]
Message-ID: <15AD5D7936F8D21198240000F831776E3E78FE@dboexc1.dbo.dec.com> (raw)

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
> 


             reply	other threads:[~1999-05-18 14:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-18 13:27 Paul Jakma [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-05-20  0:14 Converting time (since 01-01-1970) to Epoch Tom King
1999-05-19  9:54 Wessels, Hans
1999-05-19  8:57 Paul Jakma
1999-05-18 14:16 Franco Tassone
1999-05-18 15:18 ` Phil Carmody
1999-05-18 12:20 Franco Tassone
1999-05-18 16:13 ` Michal Jaegermann
     [not found]   ` <michal@ellpspace.math.ualberta.ca>
1999-05-19  9:51     ` Franco Tassone
1999-05-19  9:23       ` Dr . David Alan Gilbert
1999-05-19  9:33       ` Phil Carmody
1999-05-20  4:06       ` Huw Davies
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox