問題:
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?