Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

AdvancedCriteria DateTime field Equals "Today" expected behaviour?

$
0
0
What is the expected behaviour of a Criteria of a DateTime field where the operator is set to Equals and the Value set to "Today"?

Should it match every DateTime value for the entire day?

So a Filter/Criteria such as this where createdOn is a DateTime field:
Code:

"criteria":[
    {
        "fieldName":"createdOn",
        "operator":"equals",
        "value":{
            "_constructor":"RelativeDate",
            "value":"$today"
        }
    }
]


Viewing all articles
Browse latest Browse all 4756

Latest Images

Trending Articles



Latest Images