As noted in the answer for this question, this looks like a unit conversion issue. You have to divide your timestamp by 1000 to convert from milliseconds to seconds.
If you want to preserve millisecond precision, instead divide by 1000.0.
As noted in the answer for this question, this looks like a unit conversion issue. You have to divide your timestamp by 1000 to convert from milliseconds to seconds.
If you want to preserve millisecond precision, instead divide by 1000.0.