我需要能够将日期转换为时间戳,一个以毫秒为单位的纪元.我在网上看到的只是将毫秒转换为NSDate,而不是相反.有帮助吗?
xcode nsdate epoch ios
epoch ×1
ios ×1
nsdate ×1
xcode ×1