Hi,
last year I used the "Simpletime" node. I remember using the following code:
if(msg.mymonthn>=4||(msg.mymonthn<=10&&msg.mydom<27)){//adjust based on Daylight savings time
msg.myhour+=1;
}
else{
msg.myhour-=1;
}
I am trying to recreate it at the moment, but having issues. The node has changed. Now I want to know if the node uses the computer time?
I remember having to adjust for DST, but now I don't (testing locally). Also I remember when I added an hour it actually took away an hour. Can anyone help with clarifying as the documentation doesn't say where the source of time is from.