From: Phlip Date: 2007-09-13T08:25:26+09:00 Subject: Re: Time#now > Lee Jarvis pisze: > > I want, 03:45:08 > t = Time.now > puts "%02d:%02d:%02d" % [t.hour,t.min,t.sec] Google strftime - you'll probably hit PHP's version - then do Time.now.strftime("%H:%M:%S"), with the appropriate codes in there. -- Phlip