timeToday() problem

(Anotherron) #1

I am trying to write an app that needs to determine today’s noontime. I get an error message when I use timeToday(“12:00”). It cannot find the time zone. I cannot use “location.timeZone” because it seems to rely on the location from which the app is running. I want it based on either the hub’s location or the location to which I associated the hub.

Any ideas how I can I determine noon?