I need to get local time and utc time in seconds. I read some posts in StackOverflow and found some solution, which is correct as mentioned: Instant time = Instant.now(); OffsetDateTime utc = …
Advertisement
Tag: timezone-offset
Calculating timezone from GMT value – Android
In a android form , i am accepting a GMT value(offset) from user such a +5:30 , +3:00. and from this value , i want to calculate the timeZone that is “India/Delhi”. Any ideas on how to do it ……Plzz Answer If you already have a specific instant in time at which that offset is valid, you could do something
Advertisement