---
title: DateTime - GraphQL Admin
description: |-
  Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string.
  For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is
  represented as `"2019-09-07T15:50:00Z`".
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/scalars/datetime
  md: https://shopify.dev/docs/api/admin-graphql/latest/scalars/datetime.md
---

# DateTime

scalar

Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string. For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is represented as `"2019-09-07T15:50:00Z`".

## Map

### Fields with this scalar

* [AbandonedCheckout.completedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AbandonedCheckout#field-AbandonedCheckout.fields.completedAt)
* [AbandonedCheckout.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AbandonedCheckout#field-AbandonedCheckout.fields.createdAt)
* [AbandonedCheckout.updatedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AbandonedCheckout#field-AbandonedCheckout.fields.updatedAt)
* [Abandonment.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/Abandonment#field-Abandonment.fields.createdAt)
* [Abandonment.emailSentAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/Abandonment#field-Abandonment.fields.emailSentAt)
* [Abandonment.lastBrowseAbandonmentDate](https://shopify.dev/docs/api/admin-graphql/latest/objects/Abandonment#field-Abandonment.fields.lastBrowseAbandonmentDate)
* [Abandonment.lastCartAbandonmentDate](https://shopify.dev/docs/api/admin-graphql/latest/objects/Abandonment#field-Abandonment.fields.lastCartAbandonmentDate)
* [Abandonment.lastCheckoutAbandonmentDate](https://shopify.dev/docs/api/admin-graphql/latest/objects/Abandonment#field-Abandonment.fields.lastCheckoutAbandonmentDate)
* [Abandonment.visitStartedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/Abandonment#field-Abandonment.fields.visitStartedAt)
* [AnalyticsAnnotation.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsAnnotation#field-AnalyticsAnnotation.fields.createdAt)
* [AnalyticsAnnotation.endedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsAnnotation#field-AnalyticsAnnotation.fields.endedAt)
* [AnalyticsAnnotation.startedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsAnnotation#field-AnalyticsAnnotation.fields.startedAt)
* [AnalyticsAnnotation.updatedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsAnnotation#field-AnalyticsAnnotation.fields.updatedAt)
* [AnalyticsTarget.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsTarget#field-AnalyticsTarget.fields.createdAt)
* [AnalyticsTarget.updatedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AnalyticsTarget#field-AnalyticsTarget.fields.updatedAt)
* [AppCredit.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppCredit#field-AppCredit.fields.createdAt)
* [AppFeedback.feedbackGeneratedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppFeedback#field-AppFeedback.fields.feedbackGeneratedAt)
* [AppPurchaseOneTime.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppPurchaseOneTime#field-AppPurchaseOneTime.fields.createdAt)
* [AppRevenueAttributionRecord.capturedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppRevenueAttributionRecord#field-AppRevenueAttributionRecord.fields.capturedAt)
* [AppRevenueAttributionRecord.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppRevenueAttributionRecord#field-AppRevenueAttributionRecord.fields.createdAt)
* [AppSubscription.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppSubscription#field-AppSubscription.fields.createdAt)
* [AppSubscription.currentPeriodEnd](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppSubscription#field-AppSubscription.fields.currentPeriodEnd)
* [AppUsageRecord.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppUsageRecord#field-AppUsageRecord.fields.createdAt)
* [Article.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article#field-Article.fields.createdAt)
* [Article.publishedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article#field-Article.fields.publishedAt)
* [Article.updatedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article#field-Article.fields.updatedAt)
* [BasicEvent.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/BasicEvent#field-BasicEvent.fields.createdAt)
* [Blog.createdAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/Blog#field-Blog.fields.createdAt)
* [Blog.updatedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/Blog#field-Blog.fields.updatedAt)
* [BulkOperation.completedAt](https://shopify.dev/docs/api/admin-graphql/latest/objects/BulkOperation#field-BulkOperation.fields.completedAt)

### Inputs with this scalar

* [AnalyticsAnnotationCreateInput.endedAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/AnalyticsAnnotationCreateInput#fields-endedAt)
* [AnalyticsAnnotationCreateInput.startedAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/AnalyticsAnnotationCreateInput#fields-startedAt)
* [AnalyticsAnnotationUpdateInput.endedAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/AnalyticsAnnotationUpdateInput#fields-endedAt)
* [AnalyticsAnnotationUpdateInput.startedAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/AnalyticsAnnotationUpdateInput#fields-startedAt)
* [ArticleCreateInput.publishDate](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ArticleCreateInput#fields-publishDate)
* [ArticleUpdateInput.publishDate](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ArticleUpdateInput#fields-publishDate)
* [CashDrawerDateRangeInput.from](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CashDrawerDateRangeInput#fields-from)
* [CashDrawerDateRangeInput.to](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CashDrawerDateRangeInput#fields-to)
* [CompanyInput.customerSince](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CompanyInput#fields-customerSince)
* [CustomerEmailMarketingConsentInput.consentUpdatedAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CustomerEmailMarketingConsentInput#fields-consentUpdatedAt)
* [CustomerMarketingConsentInput.updatedAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CustomerMarketingConsentInput#fields-updatedAt)
* [CustomerSmsMarketingConsentInput.consentUpdatedAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CustomerSmsMarketingConsentInput#fields-consentUpdatedAt)
* [DiscountAutomaticAppInput.endsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountAutomaticAppInput#fields-endsAt)
* [DiscountAutomaticAppInput.startsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountAutomaticAppInput#fields-startsAt)
* [DiscountAutomaticBasicInput.endsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountAutomaticBasicInput#fields-endsAt)
* [DiscountAutomaticBasicInput.startsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountAutomaticBasicInput#fields-startsAt)
* [DiscountAutomaticBxgyInput.endsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountAutomaticBxgyInput#fields-endsAt)
* [DiscountAutomaticBxgyInput.startsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountAutomaticBxgyInput#fields-startsAt)
* [DiscountAutomaticFreeShippingInput.endsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountAutomaticFreeShippingInput#fields-endsAt)
* [DiscountAutomaticFreeShippingInput.startsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountAutomaticFreeShippingInput#fields-startsAt)
* [DiscountCodeAppInput.endsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountCodeAppInput#fields-endsAt)
* [DiscountCodeAppInput.startsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountCodeAppInput#fields-startsAt)
* [DiscountCodeBasicInput.endsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountCodeBasicInput#fields-endsAt)
* [DiscountCodeBasicInput.startsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountCodeBasicInput#fields-startsAt)
* [DiscountCodeBxgyInput.endsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountCodeBxgyInput#fields-endsAt)
* [DiscountCodeBxgyInput.startsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountCodeBxgyInput#fields-startsAt)
* [DiscountCodeFreeShippingInput.endsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountCodeFreeShippingInput#fields-endsAt)
* [DiscountCodeFreeShippingInput.startsAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DiscountCodeFreeShippingInput#fields-startsAt)
* [DraftOrderInput.reserveInventoryUntil](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DraftOrderInput#fields-reserveInventoryUntil)
* [FulfillmentEventInput.estimatedDeliveryAt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/FulfillmentEventInput#fields-estimatedDeliveryAt)

### Arguments with this scalar

* [abandonmentEmailStateUpdate.emailSentAt](https://shopify.dev/docs/api/admin-graphql/latest/mutations/abandonmentEmailStateUpdate#arguments-emailSentAt)
* [abandonmentUpdateActivitiesDeliveryStatuses.deliveredAt](https://shopify.dev/docs/api/admin-graphql/latest/mutations/abandonmentUpdateActivitiesDeliveryStatuses#arguments-deliveredAt)
* [channelFullSync.beforeUpdatedAt](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelFullSync#arguments-beforeUpdatedAt)
* [channelFullSync.updatedAtSince](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelFullSync#arguments-updatedAtSince)
* [fulfillmentOrderAcceptFulfillmentRequest.estimatedShippedAt](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentOrderAcceptFulfillmentRequest#arguments-estimatedShippedAt)
* [fulfillmentOrderReschedule.fulfillAt](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentOrderReschedule#arguments-fulfillAt)
* [fulfillmentOrdersSetFulfillmentDeadline.fulfillmentDeadline](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentOrdersSetFulfillmentDeadline#arguments-fulfillmentDeadline)
* [inventoryShipmentMarkInTransit.dateShipped](https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryShipmentMarkInTransit#arguments-dateShipped)
* [inventoryShipmentReceive.dateReceived](https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryShipmentReceive#arguments-dateReceived)
* [orderCreateManualPayment.processedAt](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCreateManualPayment#arguments-processedAt)
* [pointOfSaleDevicePaymentSessionAdjust.time](https://shopify.dev/docs/api/admin-graphql/latest/mutations/pointOfSaleDevicePaymentSessionAdjust#arguments-time)
* [pointOfSaleDevicePaymentSessionClose.time](https://shopify.dev/docs/api/admin-graphql/latest/mutations/pointOfSaleDevicePaymentSessionClose#arguments-time)
* [pointOfSaleDevicePaymentSessionCount.time](https://shopify.dev/docs/api/admin-graphql/latest/mutations/pointOfSaleDevicePaymentSessionCount#arguments-time)
* [pointOfSaleDevicePaymentSessionOpen.time](https://shopify.dev/docs/api/admin-graphql/latest/mutations/pointOfSaleDevicePaymentSessionOpen#arguments-time)
* [productFullSync.beforeUpdatedAt](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productFullSync#arguments-beforeUpdatedAt)
* [productFullSync.updatedAtSince](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productFullSync#arguments-updatedAtSince)
* [subscriptionContractSetNextBillingDate.date](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionContractSetNextBillingDate#arguments-date)
* [taxSummaryCreate.endTime](https://shopify.dev/docs/api/admin-graphql/latest/mutations/taxSummaryCreate#arguments-endTime)
* [taxSummaryCreate.startTime](https://shopify.dev/docs/api/admin-graphql/latest/mutations/taxSummaryCreate#arguments-startTime)