TimeZone of UTC+5:30
See original GitHub issueval localDateTime = Clock.System.now().toLocalDateTime(TimeZone.of("UTC+5:30"))
above code is not working I try to use +5:30 but work fine if I used +5. How can I fetch time for +5:30 GMT?
error I received:
Uncaught Kotlin exception: kotlinx.datetime.IllegalTimeZoneException: Invalid ID for ZoneOffset, non numeric characters found: +5:30
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
UTC+5:30 now - Time.is
Time zone · UTC +5:30 · UTC+5:30 is 10 hours and 30 minutes ahead of New York.
Read more >UTC+5:30 Time Now GMT+5:30 - UTC Time
UTC+5:30 Time Now. Current time in UTC/GMT+5:30 time zone is 13:47:26. UTC+05:30 time is 5 hours and 30 minutes ahead from the UTC...
Read more >UTC+5:30 Zone Current Time and countries list from it
Countries in UTC+5:30 Zone · India: New Delhi · Sri Lanka: Colombo ...
Read more >UTC+5:30 time zone - World Clock
UTC+05:30 is a time offset that adds 5 hours 30 minutes to Coordinated Universal Time (UTC). It is observed in the IST, SLST...
Read more >UTC+05:30 - Wikidata
Kunlun Time Zone · Madras Time · Sri Lanka Standard Time · Indian Standard Time · utc+5:30.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In the first comment, you talked about
+5:30
, not+05:30
(with the zero), right?+05:30
should work.The
TimeZone.currentSystemDefault()
issue does not reproduce for me for 0.2.0. Feel free to reopen this issue if the problem persists!