Strange behaviour of epoch() when converting from Unix time