[plug] [REMINDER] Unix Epoch: 1 billion seconds breakfast function.
James Bromberger
james at rcpt.to
Sun Sep 2 23:37:02 WST 2001
On Sun, Sep 02, 2001 at 10:36:26PM +0800, Bernard Blackham wrote:
> Along similar lines, is there a program that takes a date as the number of
> seconds since epoch and converts it into a human-readable date, that runs
> from the command line? I've written a small program that does this, but is
> there anything that's standard with Linux that'll be on any machine I walk
> up to?
Who about:
perl -e 'print scalar localtime(999877665) . "\n"'
;)
James
--
James Bromberger <james_AT_rcpt.to> www.james.rcpt.to
Remainder moved to http://www.james.rcpt.to/james/sig.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20010902/16157e7f/attachment.pgp>
More information about the plug
mailing list