Simple CLI to work with epoch times
go build
./epochgen
cp ./epochgen ~/bin/epochgen
All epoch times are milliseconds ⏱
- current epoch: 1660055225761
- epoch 48 hours from now: 1660228025761
- epoch 14 days from now: 1661264825761
./epochgen -t 2022-08-17T23:00:00.000Z
Successfully Parsed time: 2022-08-17T23:00:00.000Z ⏱
- epoch in milliseconds: 1660777200000
./epochgen -e 1660055225761 -d 48h
Successfully added 48h0m0s to epoch time: 1660055225761 ⏱
- New time: 1660228025761