Skip to content

Convert an epoch timestamp to a human readable timestamp.

Notifications You must be signed in to change notification settings

dhulihan/depoch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

depoch

Convert an epoch timestamp to a human readable (RFC3339) timestamp.

Install

 go install github.com/dhulihan/depoch@latest

Use

$ depoch 1696617071
2023-10-06T12:31:11-06:00

# from STDIN
$ echo "1696617071" | depoch
2023-10-06T12:31:11-06:00

FAQ

  • Why not just use date? Because it does not support STDIN, and the CLI flags differ between BSD/GNU.

About

Convert an epoch timestamp to a human readable timestamp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages