1) Give a description of the problem
I am trying to set a DateTime variable using data which is successfully fed from another source, but for some reason the variable is getting set with todays date and not the date from the string. Please see the attached below.
Setting a DateTime variable
After doing a bit more digging, it looks like a BUG, only today’s date is being accepted, can someone else verify??
AAANNNDDD after more digging, it looks like the date MUST be in the format MM/dd/yyy. So here is a temporary work-around in case anyone comes across this thread in need of an answer…
$dateString="2018-01-01T11:30:00-04:00"
date(left(replace($dateString, “-”, “/”), 10)) time($dateString)
I am running into this same problem. Anyone have any ideas? I am listing variable to define the start and end for various holidays for outside lighting scenes. I can only enter today’s date for the variables.
Are you entering the dates as “07/04/2018”, for example?
Can you post a screen grab of what you’re entering in the expression box and the result?