- usec -> Integer[permalink][rdoc][edit]
- tv_usec -> Integer
- 
時刻のマイクロ秒の部分を整数で返します。 t = Time.local(2000,1,2,3,4,5,6) p "%10.6f" % t.to_f #=> "946749845.000006" p t.usec #=> 6
usec -> Integer[permalink][rdoc][edit]tv_usec -> Integer時刻のマイクロ秒の部分を整数で返します。
t = Time.local(2000,1,2,3,4,5,6)
p "%10.6f" % t.to_f   #=> "946749845.000006"
p t.usec              #=> 6