Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: