新手问题 Ruby 如何将时间戳转换为日期格式?

dume2007 · October 23, 2013 · Last by sevk replied at October 23, 2013 · 14781 hits

我以前 php 日期是以 1271952000 时间戳保存的, 现在要格式化为日期,有什么函数啊? 像 date("Y-m-d", $time);

You need to Sign in before reply, if you don't have an account, please Sign up first.