Forum Discussion
elenton
Helper II
7 years agoPrevious Days Orders
Hi I want to get all orders from the previous day. However if i use now() - 1 it pulls the time in which dosent link on my date table. If i format the date it ends up as a string whcih is inc...
elenton
Helper II
7 years agoparry2k sorry i missed that bit.
I think the issue may be that the date format i am trying to link on is YYYY-MM-DD which is different to the fomat that the variable is producing.
When i try to format the variable the same it is then converted to a string so data type mismatch. So im not sure how to then convert it back into a date.
Or is there something more obvious im missing?