Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ben174
on July 13, 2017
|
parent
|
context
|
favorite
| on:
Unix Time 1500M – Friday July 14 02:40UTC
date +%s
To see current time
smnscu
on July 13, 2017
[–]
I used to find this syntax opaque/unfriendly until I simply looked into it. Here's a helpful cheat sheet for what follows the "+":
https://gist.github.com/nikreiman/1408399
lucb1e
on July 13, 2017
|
parent
|
next
[–]
Or just use man date
cat199
on July 13, 2017
|
parent
|
prev
[–]
Here's another one:
$ man strftime
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
To see current time