Joda: Epoch Time Conversion coming as "1970" date

28 views Asked by At

So I have epoch seconds coming to Android app from API like this "1701259436" (unix seconds). And then i used Joda Time in GsonAdapter to convert them to date time like below

DateTime(it * 1000L)

The date is working fine on all devices except on one device where its converting to following:

20-01-1970 17:34

The expected date is from 2023 November. Its working fine on all devices, except on one device. The problem is that I have rare access to that device as it is off site at a client Location.

Please help me understand the problem

0

There are 0 answers