Kenneth Stailey <[EMAIL PROTECTED]> [2003-01-02 11:10:11 -0800]:
> 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

Try this with GNU date.  I will set the TZ to match yours.

  export TZ=EST
  date -d '1970-01-01 UTC 1041286200 sec'
  Mon Dec 30 17:10:00 EST 2002

> Does GNU have strptime(3)?

The GNU libc does have strptime, yes.

Bob


_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to