Rosenbaum, Larry M. wrote:
> 
>> -----Original Message-----
>> From: Bill Landry [mailto:b...@inetmsg.com]
>> Sent: Sunday, January 10, 2010 12:42 PM
>> To: users@spamassassin.apache.org
>> Subject: Re: About upgrading
>>
>> LuKreme wrote:
>>> On 9-Jan-2010, at 21:23, Rosenbaum, Larry M. wrote:
>>>
>>>> It's the number of seconds since the epoch (Jan 1, 1970).  One easy
>> way to convert it to a readable time is
>>>> # perl -e 'print scalar localtime 1263044805, "\n"'
>>>> Sat Jan  9 08:46:45 2010
>> Or even simpler:
>>
>> perl -le 'print scalar localtime 1263049538'
>> Sat Jan  9 05:46:45 2010
>>
>>>  % date -r 1263044805
>>> Sat Jan  9 06:46:45 MST 2010
>> On Linux based systems:
>>
>> date -d @1263044805
>> Sat Jan  9 05:46:45 PST 2010
>>
>> I like this output better than the perl output because it also includes
>> the timezone.
> 
> Excellent.  Is there one that works on Solaris (other than the Perl version)?

Don't know about the default date utility for Solaris, but you could
always use the GNU date utility on Solaris.

Bill

Reply via email to