Fix Spod Timestamp conversion

This fixed some PHP related Spod problems for me, i will ask franco to review this change.
Merge pull request #2014 from frabbit/patch-1

Fix Spod Timestamp conversion