my expression card acting up when using on phone
# 🤝help
f
I have an expression card that should trigger when date is not between 1st and 15th feb, it works fine on pc but when I test on phone it is always triggering even when I enter correct date, my code is as follows : !(workflow.Checkin >= new Date('2024-02-01') && workflow.Checkin = new Date('2024-02-01') && workflow.Checkout <= new Date('2024-02-15'))
b
Hello @famous-queen-59653
What information do you have in workflow.Checkin, I imagine it is your date, right? Is it of type Date?
f
Ofc my variable is set as date, but it was refusing to work...... But I enevntually figured it out as the AI prompts generally ain't working, I had to code manually for most of the stuff to work..... AI answers in most places like tables, knowledge base etc aren't accurate as they are supposed to be
2 Views