<div class="doc-version" data-version="unstable">
  <p>Represents limited information about the current time relative to the parent object.</p>
    <div>
    <h2 id="on-this-page">On this page</h2>
    <ul>
      <li>
        <a href="#fields-unstable">
          Fields
        </a>
      </li>
      <li>
        <a href="#types-that-return-localtime-unstable">
          Types that return LocalTime
        </a>
      </li>
    </ul>
  </div>
<h2 id="fields-unstable">
  Fields
</h2>
  <ul class="fields">
      <li>
        <div class="field" id="date-unstable">
          <div class="field-name">
            date
            (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#date-unstable"><code>Date!</code></a>)
          </div>
          <div>
            <p>The current date relative to the parent object.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="datetimeafter-unstable">
          <div class="field-name">
            dateTimeAfter
            (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#boolean-unstable"><code>Boolean!</code></a>)
          </div>
          <div>
            <p>Returns true if the current date and time is at or past the given date and time, and false otherwise.</p>
          </div>
        </div>
          <div class="arguments-table">
  <table>
    <tr>
      <th>Argument</th>
      <th>Description</th>
    </tr>
      <tr class="field-argument">
        <td class="argument-name">
          <code>dateTime</code>
          (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#datetimewithouttimezone-unstable">
            <code>DateTimeWithoutTimezone!</code>
          </a>)
            <span class="heading-flag">required</span>
        </td>
        <td class="argument-description">
          <p>The date and time to compare against, assumed to be in the timezone of the parent object.</p>
        </td>
      </tr>
  </table>
</div>
      </li>
      <li>
        <div class="field" id="datetimebefore-unstable">
          <div class="field-name">
            dateTimeBefore
            (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#boolean-unstable"><code>Boolean!</code></a>)
          </div>
          <div>
            <p>Returns true if the current date and time is before the given date and time, and false otherwise.</p>
          </div>
        </div>
          <div class="arguments-table">
  <table>
    <tr>
      <th>Argument</th>
      <th>Description</th>
    </tr>
      <tr class="field-argument">
        <td class="argument-name">
          <code>dateTime</code>
          (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#datetimewithouttimezone-unstable">
            <code>DateTimeWithoutTimezone!</code>
          </a>)
            <span class="heading-flag">required</span>
        </td>
        <td class="argument-description">
          <p>The date and time to compare against, assumed to be in the timezone of the parent timezone.</p>
        </td>
      </tr>
  </table>
</div>
      </li>
      <li>
        <div class="field" id="datetimebetween-unstable">
          <div class="field-name">
            dateTimeBetween
            (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#boolean-unstable"><code>Boolean!</code></a>)
          </div>
          <div>
            <p>Returns true if the current date and time is between the two given date and times, and false otherwise.</p>
          </div>
        </div>
          <div class="arguments-table">
  <table>
    <tr>
      <th>Argument</th>
      <th>Description</th>
    </tr>
      <tr class="field-argument">
        <td class="argument-name">
          <code>endDateTime</code>
          (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#datetimewithouttimezone-unstable">
            <code>DateTimeWithoutTimezone!</code>
          </a>)
            <span class="heading-flag">required</span>
        </td>
        <td class="argument-description">
          <p>The upper bound time to compare against, assumed to be in the timezone of the parent timezone.</p>
        </td>
      </tr>
      <tr class="field-argument">
        <td class="argument-name">
          <code>startDateTime</code>
          (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#datetimewithouttimezone-unstable">
            <code>DateTimeWithoutTimezone!</code>
          </a>)
            <span class="heading-flag">required</span>
        </td>
        <td class="argument-description">
          <p>The lower bound time to compare against, assumed to be in the timezone of the parent timezone.</p>
        </td>
      </tr>
  </table>
</div>
      </li>
      <li>
        <div class="field" id="timeafter-unstable">
          <div class="field-name">
            timeAfter
            (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#boolean-unstable"><code>Boolean!</code></a>)
          </div>
          <div>
            <p>Returns true if the current time is at or past the given time, and false otherwise.</p>
          </div>
        </div>
          <div class="arguments-table">
  <table>
    <tr>
      <th>Argument</th>
      <th>Description</th>
    </tr>
      <tr class="field-argument">
        <td class="argument-name">
          <code>time</code>
          (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#timewithouttimezone-unstable">
            <code>TimeWithoutTimezone!</code>
          </a>)
            <span class="heading-flag">required</span>
        </td>
        <td class="argument-description">
          <p>The time to compare against, assumed to be in the timezone of the parent timezone.</p>
        </td>
      </tr>
  </table>
</div>
      </li>
      <li>
        <div class="field" id="timebefore-unstable">
          <div class="field-name">
            timeBefore
            (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#boolean-unstable"><code>Boolean!</code></a>)
          </div>
          <div>
            <p>Returns true if the current time is at or past the given time, and false otherwise.</p>
          </div>
        </div>
          <div class="arguments-table">
  <table>
    <tr>
      <th>Argument</th>
      <th>Description</th>
    </tr>
      <tr class="field-argument">
        <td class="argument-name">
          <code>time</code>
          (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#timewithouttimezone-unstable">
            <code>TimeWithoutTimezone!</code>
          </a>)
            <span class="heading-flag">required</span>
        </td>
        <td class="argument-description">
          <p>The time to compare against, assumed to be in the timezone of the parent timezone.</p>
        </td>
      </tr>
  </table>
</div>
      </li>
      <li>
        <div class="field" id="timebetween-unstable">
          <div class="field-name">
            timeBetween
            (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#boolean-unstable"><code>Boolean!</code></a>)
          </div>
          <div>
            <p>Returns true if the current time is between the two given times, and false otherwise.</p>
          </div>
        </div>
          <div class="arguments-table">
  <table>
    <tr>
      <th>Argument</th>
      <th>Description</th>
    </tr>
      <tr class="field-argument">
        <td class="argument-name">
          <code>endTime</code>
          (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#timewithouttimezone-unstable">
            <code>TimeWithoutTimezone!</code>
          </a>)
            <span class="heading-flag">required</span>
        </td>
        <td class="argument-description">
          <p>The upper bound time to compare against, assumed to be in the timezone of the parent timezone.</p>
        </td>
      </tr>
      <tr class="field-argument">
        <td class="argument-name">
          <code>startTime</code>
          (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#timewithouttimezone-unstable">
            <code>TimeWithoutTimezone!</code>
          </a>)
            <span class="heading-flag">required</span>
        </td>
        <td class="argument-description">
          <p>The lower bound time to compare against, assumed to be in the timezone of the parent timezone.</p>
        </td>
      </tr>
  </table>
</div>
      </li>
  </ul>
  <h2 id="types-that-return-localtime-unstable">
    Types that return LocalTime
  </h2>
  <ul>
    <li>
      <a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/common-objects/shop#localtime-unstable">
        <code>Shop.localTime</code>
      </a>
    </li>
  </ul>
</div>