The timestamp field in AEP requires an ISO date format timestamp (https://datatracker.ietf.org/doc/html/rfc3339#section-5.6). YYYY-MM-DDTHH:mm:ssZ. I ensure your date function uses date(DATE, FORMAT, DEFAULT_DATE) or date(DATE, FORMAT) converts the date string into an an ISO 8601 format.