Let us know
Daylight Saving Adjustment

Hi,

dataTaker does not have automatic detection on daylight saving however it is possible to introduce time manipulation through the code.

This is the code Jairus Pascoe from Metro Train which address daylight saving in Melbourne. Daylight saving in Melbourne start on 2 am the first Sunday of October and end on 2 am the first Sunday of April.

4ST(=11CV,W)
20SV(=12CV,W)
21SV(=13CV,W)
14CV(W)=11CV-12CV+50
15CV(W)=14CV+1
99CV(W)=0

'non daylight saving
IF(13CV==4)AND IF(14CV<50){99CV=0}
IF(13CV>4)AND IF(13CV<10){99CV=0}
IF(13CV==10)AND IF(15CV>50){99CV=0}

'daylight saving
IF(13CV==4)AND IF(15CV>50){99CV=1}
IF(13CV<4){99CV=1}
IF(13CV>10){99CV=1}
IF(13CV==10)AND IF(14CV<50){99CV=1}

'conditional statement
IF(99CV==0){PROFILE LOCALE TIME_ZONE=10H}
IF(99CV==1){PROFILE LOCALE TIME_ZONE=11H}

The code does not specifically target the hour.

Best regards,
Rudy Gunawan

Hi, dataTaker does not have automatic detection on daylight saving however it is possible to introduce time manipulation through the code. This is the code Jairus Pascoe from Metro Train which address daylight saving in Melbourne. Daylight saving in Melbourne start on 2 am the first Sunday of October and end on 2 am the first Sunday of April. ```` 4ST(=11CV,W) 20SV(=12CV,W) 21SV(=13CV,W) 14CV(W)=11CV-12CV+50 15CV(W)=14CV+1 99CV(W)=0 &#039;non daylight saving IF(13CV==4)AND IF(14CV&lt;50){99CV=0} IF(13CV&gt;4)AND IF(13CV&lt;10){99CV=0} IF(13CV==10)AND IF(15CV&gt;50){99CV=0} &#039;daylight saving IF(13CV==4)AND IF(15CV&gt;50){99CV=1} IF(13CV&lt;4){99CV=1} IF(13CV&gt;10){99CV=1} IF(13CV==10)AND IF(14CV&lt;50){99CV=1} &#039;conditional statement IF(99CV==0){PROFILE LOCALE TIME_ZONE=10H} IF(99CV==1){PROFILE LOCALE TIME_ZONE=11H} ```` The code does not specifically target the hour. Best regards, Rudy Gunawan
45
0
1
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft