Hi All
I think I am doing something worng and I think its because I am trying to use Time.Moment when perhaps I should be using Time.Duration?
I am bascially trying to get a countdown between a futre time and the current time.
currently the bellow works on the SIM but when in the watch I get +1h (i think this is due to BST.
I have tried adjusting for BST to DST but then other elements go wrong.
My feeling is if I use Duration to get the time difference It'll work regardless. When converting back to Gregorian it must be adjusting for BST?
ANy help MUCH appreciated
var TimeNow = Time.now().value() ;
e = ( futuretime - TimeNow )/60 ;
var ncinfo = Time.Gregorian.info(new Time.Moment(e*60), Time.FORMAT_SHORT);
countdown = ncinfo.hour.format("%.0f") + "h " + ncinfo.min.format("%.0f") + "m";