subtract unix epoch(62167219200) from the Gregorian seconds returned by the web service. see here
How to convert Gregorian date (in seconds) to unix timestamp in PHP
-
23-06-2022 - |
Pregunta
I have a webservice returning timestamps in Gregorian seconds.
How do I convert Gregorian date (in seconds) to unix timestamp in PHP?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow