Hi -- On Sun, 15 May 2005 nobu.nokada / softhome.net wrote: > Hi, > > At Sun, 15 May 2005 17:53:05 +0900, > Vance A Heron wrote in [ruby-talk:142690]: >> irb(main):001:0> t=Time.local(2005,'jan',4,9,05,0,0) >> => Tue Jan 04 09:05:00 PST 2005 >> irb(main):002:0> t.strftime('%b %d %Y %H:%M').gsub(/ 0(\d\D)/, ' \1') >> => "Jan 4 2005 9:05" > irb(main):003:0> t.strftime('%b %-2d %Y %-2H:%-2M') > => "Jan 4 2005 9: 5" I hadn't thought to look there -- I'd tried something like: irb(main):002:0> Date.today.strftime('%b %-2d %Y %-2H:%-2M') which gave me: => "May %-2d 2005 %-2H:%-2M" :-) David -- David A. Black dblack / wobblini.net