You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use "requestTime" function on a node to request date and time from the controller. The answer is always UTC time with jeedom.
If think local time is more usefull than UTC for IOT that don't know their timezone.
Tell me if i'm wrong .
can we use :
var payload = new Date().getTime()/1000 + new Date().getTimezoneOffset()*60;
instead of
var payload = new Date().getTime()/1000;
Regards,
Mathieu
The text was updated successfully, but these errors were encountered:
When you use "requestTime" function on a node to request date and time from the controller. The answer is always UTC time with jeedom.
If think local time is more usefull than UTC for IOT that don't know their timezone.
Tell me if i'm wrong .
can we use :
var payload = new Date().getTime()/1000 + new Date().getTimezoneOffset()*60;
instead of
var payload = new Date().getTime()/1000;
Regards,
Mathieu
The text was updated successfully, but these errors were encountered: