[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `date` and timestamp format
From: |
Eric Blake |
Subject: |
Re: `date` and timestamp format |
Date: |
Sun, 02 Oct 2005 15:25:46 +0000 |
> Hello
>
> I've been trying to print a timestamp format (I mean seconds from 1 Jan
> 1970) with `date` program from coreutils package.
> There is an option -d but it does not take the numerical timestamp as an
> input.
Yes it does, with an @ prefix. From section 27.8 of the 5.3.0 info manual:
For example, on most systems address@hidden' represents 1998-12-31
23:59:59 UTC, address@hidden' represents 1999-01-01 00:00:00 UTC.
--
Eric Blake