Node-red-contrib-influxdb function to pass a specific time query

Hi Colin,

Thanks for your support! I do have configured the node as 1.x. However I changed the server before posting to avoid sharing my IP.
The node "influxdb in" works fine. Just want to send the stationary query from a previous function.
My problem is that I do not know how to prepare this query function. I tried with context variables, and following this post:

Although I set a msg.query, my function always return the original message from its inject node (timestamp).

Thanks again for your time,

Cheers,

Adrián