title: How can I change the format of a date from the command line?
body: <p>What's the quickest way to convert a date in one format, say </p>
  
  <blockquote>
    <p>2008-06-01</p>
  </blockquote>
  
  <p>to a date in another format, say </p>
  
  <blockquote>
    <p>Sun 1st June 2008</p>
  </blockquote>
  
  <p>The important bit is actually the 'Sun' because depending on the dayname, I may need to fiddle other things around - in a non-deterministic fashion. I'm running GNU bash, version <code>3.2.17(1)-release (i386-apple-darwin9.0)</code>.</p>
  
  <p>[Background: The reason that I want to do it from the command line, is that what I really want is to write it into a TextMate command...  It's an annoying task I have to do all the time in textMate.]</p>