Background: I’m using the datetime variable in a non standard way, but something that could be useful for others. I set a date/time variable to a zero date. I was trying to use 1/1/1900 12:00:00.000 AM as I have done something similar with dates in the past using excel. I then can add time to this variable so that I can see how long something has been running. In my case, I use it for the HVAC systems and when a system has been running for 30 days total, I get an alert to change the filter.
Steps to replicate behavior:
- Open Piston to Edit mode
- Click add new global variable
- Select type “Date and Time”
- Enter any variable name
- Select Value (for initial value)
- pick any date/time before 1/1/1970 7:00 PM
- Click add
Actual Behavior
Date / time will be set to a date other than picked date
Desired Behavior
Date/Time stays at selected date/time