Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] Seconds to date conversion.
Johann Sijpkes wrote:
> Hi everybody!
>
> I'm working on my notify script and want to extract the actual send
> time from the q-file. This is no problem, the correct file is passed to
> 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
For awk:
print strftime("%d-%m-%y", 979570593);
>
> etc?) from a script? Or better still, where can I change the format
> Hylafax uses to write dates (currently %s ?).
That's dangerous.
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null