I'm trying to compare dates with a SSMS database to the current date to see if they are less than or equal the current date.
My query is Date le formatDateTime(utcNow(),'yyyy-MM-dd'), and always returns empty but they are many dates that should be returned.
ive tried putting '' around formatDateTime
formatDateTime does return the todays date so im not sure what the issue is

Report
All responses (
Answers (