--- title: DateTime - Storefront API 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: 2025-10 api_name: storefront type: scalar api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/scalars/DateTime md: https://shopify.dev/docs/api/storefront/latest/scalars/DateTime.md --- # Date​Time 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 * <-|[Article.publishedAt](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.publishedAt) * <-|[Cart.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.createdAt) * <-|[Cart.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.updatedAt) * <-|[Collection.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-Collection.fields.updatedAt) * <-|[Company.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Company#field-Company.fields.createdAt) * <-|[Company.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Company#field-Company.fields.updatedAt) * <-|[Company​Contact.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/CompanyContact#field-CompanyContact.fields.createdAt) * <-|[Company​Contact.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/CompanyContact#field-CompanyContact.fields.updatedAt) * <-|[Company​Location.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/CompanyLocation#field-CompanyLocation.fields.createdAt) * <-|[Company​Location.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/CompanyLocation#field-CompanyLocation.fields.updatedAt) * <-|[Customer.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-Customer.fields.createdAt) * <-|[Customer.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-Customer.fields.updatedAt) * <-|[Customer​Access​Token.expiresAt](https://shopify.dev/docs/api/storefront/latest/objects/CustomerAccessToken#field-CustomerAccessToken.fields.expiresAt) * <-|[Metafield.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Metafield#field-Metafield.fields.createdAt) * <-|[Metafield.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Metafield#field-Metafield.fields.updatedAt) * <-|[Metaobject.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Metaobject#field-Metaobject.fields.updatedAt) * <-|[Order.canceledAt](https://shopify.dev/docs/api/storefront/latest/objects/Order#field-Order.fields.canceledAt) * <-|[Order.processedAt](https://shopify.dev/docs/api/storefront/latest/objects/Order#field-Order.fields.processedAt) * <-|[Page.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Page#field-Page.fields.createdAt) * <-|[Page.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Page#field-Page.fields.updatedAt) * <-|[Product.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.createdAt) * <-|[Product.publishedAt](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.publishedAt) * <-|[Product.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-Product.fields.updatedAt) * <-|[Sitemap​Image.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/SitemapImage#field-SitemapImage.fields.updatedAt) * <-|[Sitemap​Resource.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/SitemapResource#field-SitemapResource.fields.updatedAt) * <-|[Sitemap​Resource​Metaobject.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/SitemapResourceMetaobject#field-SitemapResourceMetaobject.fields.updatedAt)