I'm constructing a java.sql.Timestamp using a long. Sometimes it gets it right other times it gets it wrong! e.g.
76875 gives a Timestamp of "1970-01-01 01:01:16.875"
Where has the extra hour come from? The problem arises and then goes away of its own accord giving:
The bit of code causing the problem is running on Google appengine, could it be messing something up with TimeZones? I have tried to identify a pattern but have not managed as yet.
以上就是Error converting long to Timestamp的详细内容，更多请关注web前端其它相关文章！