From: Aaron Smith Date: 2007-03-12T10:27:58+09:00 Subject: Re: new Date from Time.now().to_a > ms = 1173658884500.0 > nd = Time.at( ms.to_f / 1000.0 ) > #puts nd > #puts nd.to_a.inspect > f = nd.to_a > n = Date.parse("#{f[4]}-#{f[3]}-#{f[5]} #{f[1]}:#{f[2]}:#{f[3]} > #{f[9]}") > #puts n > #puts n.class correction: Date.parse("#{f[3]}-#{f[4]}-#{f[5]} #{f[1]}:#{f[2]}:#{f[3]} #{f[9]}") -- Posted via http://www.ruby-forum.com/.