How can i get the current time by the time zone offset to GMT(using java) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How can i get the current time by the time zone offset to GMT(using java)

Ex: when i enter -5 the output will be 4:50:30 AM

18th Aug 2017, 7:12 PM
Nayra Adel
Nayra Adel - avatar
1 Answer
0
you can search some library or maybe code an array or switch statement
21st Aug 2017, 1:40 PM
Daniel
Daniel - avatar