[Top][All Lists]

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

bug#8064: anyone home?

From: Jim Meyering
Subject: bug#8064: anyone home?
Date: Thu, 17 Feb 2011 22:50:30 +0100

David H wrote:
> anyone home?
> to help lowly newbies with the "date" command in bash.
> please include 1 example that shows the '+' character in front of the format
> string. It winds up taking a lot of looking to figure out this simple
> syntax.

I ran "info coreutils date" (because "man date" suggests it),
then searched for "date \+".  Here are two:

     $ date +'%Y-%m-%d %H:%M:%S %z'  # %z is a GNU extension.
     2004-02-29 16:21:42 -0800
     $ date +'@%s.%N'  # %s and %N are GNU extensions.

reply via email to

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