>> HUaspro /dev/ttyC4 895203401 Start
>> **END** /dev/ttyC4 895203526 Stop
>> HUneria /dev/ttyC4 895206271 Start
>
>This is the number of seconds since Jan 01, 1970. You can calculate this
value
>using "date +%s" to find the current time in seconds.
>
>To go the other way, you'd either need some perl trick I don't know about,
or
>use the strftime() function in a C program. Ask if you need help writing
it.
The following perl trick should do the trick...
perl -e 'print scalar localtime(895206271), "\n"'
(and s/local/gm/ above also works). But using date will be faster!
DL
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.