Can GNU date do this?
Kenneth Stailey <[email protected]> Thu, 2 Jan 2003 11:10:11 -0800 (PST)
| Newsgroups | gmane.comp.gnu.sh-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
FreeBSD's date can turn seconds since the epoch back into a human-readable format: $ 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 results" -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. http://mailplus.yahoo.com