05 April, 2009

Querying Unix Time

Just a quick post of a useful feature of querying the Unix time (seconds since Epoch) that I find useful in various scripts.

I'm posting it because time and again I find the need to use it and repeatedly spend time re-looking up what the syntax consists of.


$ date +%s
1227918465

No comments: