Loading

Set the Date and Time timezone during import using the SOAP/REST/Developer Console

Fecha de publicación: May 3, 2026
Descripción

When importing data into Salesforce using SOAP API, REST API, or the Developer Console, DateTime field values must be specified in UTC (Coordinated Universal Time) format. Salesforce stores all DateTime values internally as UTC, and the UI auto-converts them to the logged-in user's locale. Failure to specify the correct timezone during import can result in data discrepancies that are hard to diagnose, especially across teams in different geographic regions.

Solución

 Use the following reference to understand how Salesforce handles DateTime values and how to specify timezone correctly in your SOAP API, REST API, or Developer Console calls. All DateTime values should be provided in UTC format when importing data.

dateTime

Date and time values (timestamps). Salesforce stores the DateTime field values in the database as Coordinated Universal Time (UTC) time zone.

DateTime field values displayed on the Salesforce UI are auto formatted as per logged-in users locale (This is as per design), and when data is retrieved using SOQL query call from any API tool/ Developer Console from the database. DateTime will be displayed in the Coordinated Universal Time (UTC) time zone

In your client application, you might need to translate the timestamp to your local time zone.

Development tools differ in the way that they handle time data. Some development tools report the local time, while others report only the Coordinated Universal Time (UTC) time zone.

Primitive Data Types 

Número del artículo de conocimiento

000385916

 
Cargando
Salesforce Help | Article