#! ruby -Ks t1 = Time.now t2 = t1 + 10 print("1番目の時刻:" , t1, "\n") print("2番目の時刻:" , t2, "\n") sabun = t2 - t1 print("2つの時刻の差は:" , sabun, "です\n")