Skip to content

Luke31/epochadd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

epochadd

add year, month, day to unix epoch timestamp

  • supports year, month, day in positive and negative integers
  • supports seconds, milliseconds or nanoseconds timestamps
  • all datetimes in UTC

download

curl https://raw.githubusercontent.com/Luke31/epochadd/main/epochadd --output ~/bin/epochadd

usage

epochadd <inputepoch> <years> <months> <days>

asciicast

Hint

Doesn't work for dates after 2286-11-20 17:46:39 (epoch 9999999999)

About

Add year month or day to unix epoch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages