Get today's orders with GraphQL

Solved
Highlighted
Shopify Partner
14 2 1

I'm attempting to get today's orders with GraphQL.

Here is my "today"

2020-04-01 15:04:14.779098 America/Los_Angeles (-07:00)
2020-04-01T15:09:30-07:00

I then execute the graph ql query like so:

orders(first: 10, query: "created_at:='$nowDateTime'" ) 

Both of the above don't work.  I don't get an error but I also don't get today's orders.  I would expect to get only the first 10 from today.

Any idea what I'm doing wrong?

0 Likes
Highlighted
Shopify Partner
14 2 1

This is an accepted solution.

The following works with no time: 

2020-04-01
0 Likes