How to add and subtract hours in GMT’s current time.
Output: 12:56:59 PM # india
LOCAL_TIME = strftime("%H:%M:%S %p", time.localtime())
Output: 07:26:59 AM # Casabalanca
GMT_TIME = strftime("%H:%M:%S %p +0000", gmtime())
Now I want to add and subtract in GMT time.
like (GMT-10:00) Hawaii, (GMT+09:30) Darwin
Hawaii Current time = GMT_TIME + (GMT-10:00) Hawaii
Is there any API for the same; for getting current time of given country/city's time zone.
Please help me.