Question

Is there something I can substitute for ?? to make this work?

> date +%s
1368817693

> date -d ?? 1368817693
Fri May 17...
Was it helpful?

Solution

Try this:

date -d "1970-01-01 UTC 1368817693 seconds"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top