Hylafax Mailing List Archives

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

Re: [hylafax-users] Seconds to date conversion.



On Mon, 15 Jan 2001 15:31:43 +0100, you wrote:

>the script. The first line contains the transmission timestamp. I 
>found that the format (eg 979598722) represents a date/time. Does 
>anyone know how to convert this to a readable format (DD-MM-YY 

$ perl -e 'print scalar(localtime(979598722)) . "\n"'
Mon Jan 15 23:45:22 2001
$

using other formatting options you can get what you want

-- 
giulioo@pobox.com


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services