Go 有一個time.Unix將秒數轉換為日期時間的函數。Unix returns the local Time corresponding to the given Unix time, sec seconds and nsec nanoseconds since January 1, 1970 UTC. 有沒有可以從 1904 轉換秒數的函數?基本上需要將從 1904 年開始的秒數轉換3400769156為日期時間。
如何將從 1904 年開始的秒數轉換為 golang 中的日期時間?
慕婉清6462132
2022-12-05 16:51:11