[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Unix time
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Unix time
- From: Paul van Eldijk <P.vanEldijk (at) uci.ru.nl>
- Date: Tue, 19 Jul 2005 20:22:54 +0200
- Organization: Universitair Centrum Informatievoorziening
- References: <e73320da05071911014e013fcc@mail.gmail.com>
- User-agent: KMail/1.8.1
On Tuesday 19 July 2005 20:01, mario andre wrote:
> Hi friends,
>
> Somebody knows how to convert the unix time format to the utc?
You could use Perl:
perl -le 'print scalar gmtime($time)'
or, to get local time:
perl -le 'print scalar localtime($time)'
(fillin the unix timestamp for $time)
HTH
Paul