From: Julian Leviston Date: 2009-02-15T00:21:04+09:00 Subject: Re: uniuq no Time.new.to_i.to_s< wrote: > I want to create new unique id in ruby.I have used the following > coding.But I don''t know whether it works perfectly or not. > > t = Time.new > p "%10.5f" % t.to_f > > does it give unique value always.I you know some other way ,please say > to create unique id . > -- > Posted via http://www.ruby-forum.com/. >