Forum Discussion
elenton
7 years agoHelper II
Previous 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...
parry2k
7 years agoSuper User
elenton not sure whst is the question and what is the issue with your approach?
elenton
7 years agoHelper II
parry2k 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?