require "phi"
Phi.time_format = "hh:mm:ss.zzz"

p Phi::SECS_PER_DAY
p Phi::MSECS_PER_DAY
beg_time = Phi::DateTime.now
1.upto(10000){|a|print "%d \r" % a}
end_time = Phi::DateTime.now
lap_sec = (end_time - beg_time)*Phi::SECS_PER_DAY
puts beg_time
puts end_time
puts( "%.2f secs" % lap_sec )
