Segments with Date Criteria

0

Hi,

I'm trying to build segments with a date condition.

We have a user attribute that's a date in the format YYYY-MM-DD, but I'm getting zero matches regardless of the date condition. I can see the dates are in there based on the suggestions in the Pinpoint UI, but they must not be suitable for the Before/After matching.

I presume I've misunderstood - either we can't target based on a user attribute that's a date or YYYY-MM-DD isn't the correct format to pass into the API. Please can someone point out where I've gone wrong?

Thanks,
Mike

mmdg
asked 3 years ago368 views
1 Answer
0

Nevermind, I've realised how to solve the problem. The date can't be truncated to YYYY-MM-DD, it has to be in the format YYYY-MM-DDTHH:MM:SSZ.

mmdg
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions