title: AWS AppSync - How to query data by date range(Today to 30 days before)?
body: <p>This is how my schema.graphql looks like.</p>
  
  <pre><code>type Post 
    @model
    @auth(
      rules: [
        { allow: owner }
      ]
    ) {
    id: ID!
    author: User! @connection(name: "UserPosts")
    content: AWSJSON!
    createdAt: AWSDateTime
    updatedAt: AWSDateTime
  }
  </code></pre>
  
  <p>Which generated GraphQL query showing below</p>
  
  <pre><code>export const listPosts = `query listPosts(
    $filter: ModelPostFilterInput
    $limit: Int
    $nextToken: String
  ) {
    listPosts(filter: $filter, limit: $limit, nextToken: $nextToken) {
      items {
        id
        author {
          id
          uuid
        }
        content
        createdAt
        updatedAt
      }
      nextToken
    }
  }
  `;
  </code></pre>
  
  <p>I'm calling <code>listPosts</code> to query list of Posts but not sure how to implement date range into below query that I'm using to get data.</p>
  
  <p><code>await API.graphql(graphqlOperation(queries.listPosts, {limit: 10, nextToken: nextToken}))</code></p>
  
  <p>Is it possible to add two strings <code>start: TODAY</code> and <code>end: 30 DAYS BEFORE TODAY</code> to the query above and get it returns 30 latest posts?</p>