[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Unix time



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