可能重复:
如何用Ruby将DateTime.now转换为UTC?
如何在Date时间毫秒中获取当前时间;UTC?示例2012-03-22T18:48:40.873Z
我试过了-
Time.now.utc_offset.to_s
Time.now.xs_datetime
Time.now.utc
是您必须使用的。