Ruby/Rails: 将 int 转换为 time 还是从 int 获取 time?

我们可以这样做:

i = Time.now.to_i

例如:

i = 1274335854

我能回到过去吗?

85058 次浏览