[Top][All Lists]

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

Can GNU date do this?

From: Kenneth Stailey
Subject: Can GNU date do this?
Date: Thu, 2 Jan 2003 11:10:11 -0800 (PST)

FreeBSD's date can turn seconds since the epoch back into a human-readable

$ date -j -f "%s" 1041286200
Mon Dec 30 17:10:00 EST 2002

-j means "do not set the date but still accept a new date and print the

-f sets the format used by the input parser ala strptime(3) which is the
converse of strftime(3) the way scanf(3) is the converse of printf(3).

Does GNU have strptime(3)?

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

reply via email to

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