Return to Snippet

Revision: 2985
at June 5, 2007 00:36 by greystate


Updated Code
t = Time.now.utc
puts t
2.upto(36) { |r| puts r.to_s + " : " + t.to_i.to_s(r) }

Revision: 2984
at May 21, 2007 14:44 by greystate


Initial Code
t = Time.now.utc
puts t
2.upto(36) { |r| puts r.to_s + " : " + t.to_i.to_s(r) }

Initial URL


Initial Description


Initial Title
Explore to_s(radix) on UTC Time

Initial Tags
textmate, rails, ruby

Initial Language
Ruby