Watch hangs up after using utcInfo()

Hi,

I am trying to calculate sunrise and sunset. In my formula I have to calculate the difference between local time and utc time. Therefore I use utcInfo() to get the utc time. Nevertheless, as soon as I use this

var temp = - Activity.getActivityInfo().currentLocation.toDegrees()[1]/15 - (Greg.utcInfo(Date.now(), Date.FORMAT_SHORT).hour - hours);


the physical watch hangs up after updating. In the simulator all works well. I tracked the problem even further down and as soon as I include this line:

var utc = Greg.utcInfo(Date.now(), Date.FORMAT_SHORT).hour;

even if I don't use the variable utc the physical watch hangs up. I tried it on my Fenix 3 HR. Do you have any hints for me or any workaround to get the time diff between utc and local time?

Thanks for supporting.