On Fri, 15 May 1998 06:07:39 EDT Dave Wreski wrote:
>
> On 15-May-98 Milos Prudek wrote:
> > I need to understand the included date format. Does anyone know how to
> > decode this into human-readable date and time?
> >
> > The date-time code is in the third column of course.
> >
> > 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.
Utility `convdate' from the `inn-1.7.2' package gives
895206271 -> Fri May 15 06:24:31 1998
> Dave
-Frank
--
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.