hexagon logo

Adjustable Variables based on Date

Something I helped with on the other side with and others!

ASSIGN/V1=IF(SYSTEMDATE("yyyyMMdd")>=20210211,0.05,0.1)
COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
"Test Deviation "+V1


This will assign 0.05 to V1 if the System Date is larger than the date you manually specify (20210211). Otherwise, it will say 0.1. This works well if you have a deviation that expires within a certain time. Of course, you can flip flop the equation signs to your liking.

Enjoy!