Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/idlephysicist/ut

UNIX-Time: Give it a date it gives you a timestamp
https://github.com/idlephysicist/ut

go golang unixtime unixtimestamp unixtimestamp-format

Last synced: 7 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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

```shell
$ 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.