bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gawk manual time functions Info manual missing vital referral


From: Aharon Robbins
Subject: Re: gawk manual time functions Info manual missing vital referral
Date: Tue, 27 Feb 2001 11:12:00 +0200

Greetings. Re this:

> From: Dan Jacobson <address@hidden>
> Subject: gawk manual time functions Info manual missing vital referral
> Date: 25 Feb 2001 16:00:52 +0800
>
> The Info page "File: gawk.info, Node: Time Functions" is lacking in
> that it instructs the user how to produce and also convert dates of
> the format 983087570 into the format Sun Feb 25 15:52:44 CST 2001
> etc., but does not instruct how to turn them back.  It should refer
> the user to the "date" shell command to turn them back.
> -- 
> http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.

Thanks for your note.  The gawk doc doesn't mention this because there
are older systems where this isn't true.  Either the date command doesn't
accept a format argument, or there isn't a portable, standard format to
convert back to a timestamp.

All is not lost, however.  The 3.1 version of gawk has a built-in mktime()
function for converting dates back to timestamps.  A beta version of
gawk 3.1 is now available.  You can get it from:

        ftp://ftp.freefriends.org/arnold/gawk/gawk-3.0.95.tar.gz

Thanks,

Arnold
--
Aharon (Arnold) Robbins --- Pioneer Consulting Ltd.     address@hidden
P.O. Box 354            Home Phone: +972  8 979-0381    Fax: +1 603 761-6761
Nof Ayalon              Cell Phone: +972 51  297-545    (See www.efax.com)
D.N. Shimshon 99785      ISRAEL



reply via email to

[Prev in Thread] Current Thread [Next in Thread]