问题:
Related question is "Datetime To Unix timestamp" , but this question is more general.相关问题是"Datetime To Unix timestamp" ,但这个问题更笼统。
I need Unix timestamps to solve my last question.我需要 Unix 时间戳来解决我的最后一个问题。 My interests are Python, Ruby and Haskell, but other approaches are welcome.我的兴趣是 Python、Ruby 和 Haskell,但也欢迎其他方法。
What is the easiest way to generate Unix timestamps?生成 Unix 时间戳的最简单方法是什么?
解决方案:
参考一: https://stackoom.com/question/53O9参考二: How can I generate Unix timestamps?