Loading

Data Cloud Date Fields Display Timestamp in CRM Analytics Dashboards

Дата публикации: Oct 8, 2026
Описание

When you create CRM Analytics dashboards that consume data from Data Cloud data model objects, Date type fields display with an appended timestamp in the format `T00:00:00Z`. This is working as designed.

This behavior occurs because, in the Data Cloud application, query executions are performed against the Data Cloud Query API V3 endpoint. In contrast, in CRM Analytics, query executions are performed against the Data Cloud Query API V1 endpoint, leading to the observed differences.

Historically, Query API V1 responses serialize both Date and DateTime fields similarly, including a `.000Z` (UTC) suffix in the returned JSON. This makes a Date field appear like an ISO-8601 timestamp (an international standard for date and time formats).

Решение

This article answers the question: why do Data Cloud Date fields display with a timestamp in Salesforce CRM Analytics dashboards, and how do you remove it? Use the `date_format()` function in the CRM Analytics lens query editor to reformat the date field and remove the timestamp.

How to Remove the Timestamp from Data Cloud Date Fields in CRM Analytics

The syntax is date_format followed by the field name and the desired format string, for example YY-MM-DD, to display only the year, month, and day.

Дополнительные ресурсы

Date Formats

Query Data using Query API

Номер статьи базы знаний

005299180

 
Загрузка
Salesforce Help | Article