📅  最后修改于: 2022-03-11 15:00:34.103000             🧑  作者: Mango
代码示例1
require 'date'
DateTime.now.strftime('%s') # "1384526946" (seconds)
DateTime.now.strftime('%Q') # "1384526946523" (milliseconds)