def get_localtime():^M ts = 0^M # uncomment the +23 line below (spring/daylight savings time in UCT +2 zone customize for your zone(ie: (utc +2 - 1hr = 1) (24-1=23))) & uncomment != 0:(fall standard time) line which will sync with GMT on your phone, set + number for correct local time vs UCT(zulu/GMT time).^M if time.daylight != 0:^M #if time.daylight > +23:^M ts = int(time.time()) - time.altzone^M else:^M ts = int(time.time()) - time.timezone^M return ts^M