datefmt

format unix timestamps over stdin
git clone git://jb55.com/datefmt
Log | Files | Refs | README | LICENSE

README (688B)


      1 usage: datefmt [OPTION...] [FORMAT]
      2 
      3 format unix timestamps from stdin
      4 
      5   -a, --after <timestamp>  only format timestamps after this date (default: 2000-01-01Z)
      6   -b, --before <timestamp> only format timestamps before this date 
      7   -f, --future             only format timestamps in the future 
      8   -p, --past               only format timestamps in the past 
      9       --version	           display version information and exit 
     10   -m, --ms	           interpret timestamps as milliseconds instead of seconds 
     11 
     12   FORMAT
     13     a strftime format string, defaults to '%F %R'
     14 
     15   EXAMPLE
     16     datefmt --after $(date -d yesterday +%s) %R < spreadsheet.csv
     17 
     18   Created By: William Casarin <https://jb55.com>