Better HN
topnewbestaskshowjobs
Log inSign up

tick-tock

1 karma · joined Oct 20, 2012 (14y ago) · 1 submissions

Submissions

comment 6y ago · link · parent

I just wrote a small function to convert Unix epoch timestamps to date-time strings. Just to be able to make sense of timestamps in some log files I was looking at.

I find this kind repetitive thing frequently comes up in the course of one's work. Not a big deal to copy and paste in a web site to convert the first few (or few hundred) times, or firing up the python interpreter. But once it becomes apparent that I will have to do this again and again it is great that Emacs gives me a way to add that small function to it.