1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-10 02:28:02 +00:00

Add Get The Unix Timestamp as a unix til

This commit is contained in:
jbranchaud
2016-04-01 23:09:04 -05:00
parent b9ade4ddf3
commit 7ae8ce67ae
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# Get The Unix Timestamp
To get the Unix timestamp from your shell, use the `time` command with the
appropriate format:
```bash
$ date +%s
```
[source](http://stackoverflow.com/questions/1092631/get-current-time-in-seconds-since-the-epoch-on-linux-bash)