Skip to content

UNIX-Time: Give it a date it gives you a timestamp

License

Notifications You must be signed in to change notification settings

IdlePhysicist/ut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UT

IdlePhysicist, 2019

This is a very basic (and limited) piece of software. It was written in about 15 minutes for one purpose, I decided to commit it here because it might be useful in the future and will save me 15 minutes down the road.

Usage

$ ut -nf YYYY-MM-DD -- 2019-08-01

The -n flag fudges the calculation by taking the time to be noon that day and not midnight, this is because I found that I was getting the pervious date when I re-parsed the timestamp.