How to convert milliseconds with included offset to Instant with offset android kotlin using kotlinx-datetime library - Stack Ov

I have time in milliseconds where my time zone is already used (I am in UTC+3 zone)Let it be 174274776

I have time in milliseconds where my time zone is already used (I am in UTC+3 zone)

Let it be 1742747760000 and it is actually equal to 2025-03-23T16:36:00+03:00

I take my time in milliseconds, than call Instant.fromEpochMilliseconds() function and pass my time there, however there is a problem and it is that when I do this, I get the time 2025-03-23T16:36:00Z which is wrong, because it should be +03:00

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744245868a4564925.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信