I am trying to get the GPS time with part of code below:
where: 25569 is an offset from UNIX time,gps_time = gps_data['satellites']['time']
ctime = gps_time + 25569
timestamp = time.strftime("%d.%m.%Y %H:%M:%S", time.localtime(ctime))
my timezone is +8 gmt(solved by using time.localtime)
However, the problem is the time i get is shift 1 hour back compared to my current time, anyone know how to fix it? thanks!