Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like Quicksilver to type a timestamp for me of the format 2010-10-15 13:42. Does anybody know how to do this?

share|improve this question

Not sure what you want exactly. Assuming you just want a timestamp in your QS so you can copy/paste it to somewhere else, install the command line plugin if you haven't already, it will put qs into your path. Then you can do date "+%Y-%m-%d %H:%M:%S" | qs from the shell and it will put the result into a quicksilver window.

Now if you put the above into a script which you invoke from QS, you should have what you want, assuming I correctly guessed what you wanted :)

share|improve this answer
Wow, this is neat. I'll check it out. – Dan Rosenstark Oct 24 '10 at 17:45

I know this is an old post, but I had the same question and spent too much time trying to find the right answer, so here it is.

  1. In AppleScript editor copy and paste this script into the large window, click compile and save as a script to your desktop. I saved mine as type date.

    set date_ to (do shell script "date +%Y.%m.%d\\ %H:%M:%S\\ %z")
    set the clipboard to the date_
    tell application "System Events"
        set frontmostApplication to name of the first process whose frontmost is true
    end tell
    tell application frontmostApplication
        tell application "System Events"
        keystroke "v" using {command down}
        end tell
    end tell
  2. Open Quicksilver pane, add a custom trigger, and find the script in the first pane, run as AppleScript in the second pane and assign a keyboard shortcut in the pop out when you click on the list of triggers.

enter image description here

For different time formats go to the terminal and type:

man date
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.