質問

I have a webservice returning timestamps in Gregorian seconds.

How do I convert Gregorian date (in seconds) to unix timestamp in PHP?

役に立ちましたか?

解決

subtract unix epoch(62167219200) from the Gregorian seconds returned by the web service. see here

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top