0
problem with conditional function
Hi! I want to show a bell if today is between two particular days (Start day, named 'Data Inizio', and End day, named 'Data termine'). I've written this code:
if 'Data inizio' <= today() <= 'Data termine' then
styled("", "", "bell")
end
but it doesn't work correctly.
What's wrong?
2 replies
-
Hi, try this
let d := today();
if d >= DateStart and d <= DateEnd then
styled("", "", "bell")
end -
great! it's ok, thank you!!!
Content aside
- 5 yrs agoLast active
- 2Replies
- 1062Views