Trying to set date in variable


#1

I’m trying to set a variable to the date and time that an event occurs and I’ve got the statement correct because it shows the correct date/time as does the variable when editing the piston. But I’m missing something because the piston state shows a random number. What am I doing wrong?


#2

Probably the missing quotes on the second pipe in the set piston state " | "


#3

That’s what it was. Thank you.