queryexecute params do not accept dateTimes from other queries

Description

When I use queryExecute() to pull a list of records that include dates in one query then loop over that query and try to pass the date to another query via a param I get the error below:

Conversion failed when converting date and/or time from character string.

https://www.screencast.com/t/So9FcKAWYC

Full query:

Environment

Commandbox, Windows

Status

Assignee

Unassigned

Reporter

John Wilson

Labels

None

Affects versions

5.3.3.63

Priority

New
Configure