Convert Unixtime with Alfred

Peter Rukavina

If you’re anything like me you have a regular need to know that 1242007264 in “Unixtime” means Monday 11th May 2009 02:01:04 AM in plain-language UTC.

Up to this point I’d been calling up a Terminal session, and doing something like: 

php -a
print strftime("%Y-%m-%d %H:%M:%S",1242007264);

But there had to be a better way!  So, in Alfred I created a new custom search:

  • Search URL is: http://www.convert-unix-time.com/?t={query}
  • Title is: Convert Unixtime
  • Keyword is: ut

Now all I need to do is activate Alfred and type ut 1242007264 and, voila. 

Screen shot of Alfred

Add new comment

Plain text

  • Allowed HTML tags: <b> <i> <em> <strong> <blockquote> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). You can subscribe to an RSS feed of posts, an RSS feed of comments, or receive a daily digests of posts by email.

Search