Data Loader uses the SOAP API or BULK API depending on how it's configured.
Unless formatted properly for the API to accept them, users may have trouble importing changes to the 'Date,' 'Date Time,' and 'Time' data type fields when the corresponding values in the .csv file do not adhere to a specific formatting or correspond with the org's time zone settings.
Refer to Data Types Supported by Data Loader for all of the supported formats that are unique to Data Loader.
Here is the correct formatting to use when there is a date or time field to avoid errors and frustration:
'Date' field acceptable formats
YYYY-MM-DD
YYYY-MM-DD hh:mm:ss
YYYY-MM-DD hh:mm:ss
YYYY-MM-DDThh:mm:ssZ
YYYY-MM-DDThh:mm:ss.sssZ
'Date Time' field acceptable formats
YYYY-MM-DD hh:mm:ss
YYYY-MM-DDThh:mm:ssZ
YYYY-MM-DDThh:mm:ss.sssZ
'Time' field acceptable formats
hh:mm:ss.sssZ (For example, 07:00:00.000Z)
Example scenarios
Scenario: If your org's time zone is set as "China/Taiwan time zone GMT+8":
'Date' and Data Loader time zone is GMT+0, GMT, or blank
Your example data in your import spreadsheet can be one of the following:
2011-01-10
2011-01-10 00:00:00
2011-01-10T00:00:00Z
2011-01-10T00:00:00.000Z
'Date' and Data Loader time zone is GMT+8
Your example data in your import spreadsheet must be one of these:
2011-01-10 08:00:00
2011-01-10T08:00:00Z
2011-01-10T08:00:00.000Z
Note: If you set the hh:mm:ss to 00:00:00, the Import Date data in Salesforce will display the previous day ('2011-01-09' instead of '2011-01-10').
'Date Time' and Data Loader time zone is GMT+8
Your example data in your import spreadsheet must be one of these options in order to have the 'Date Time' display exactly what you imported in spreadsheet:
2011-01-10 XX:XX:XX
2011-01-10TXX:XX:XXZ
2011-01-10TXX:XX:XX.XXXZ
Additional information about these formats
XX:XX:XX or XX:XX:XX.XXXZ stands for the variable time you key in.
The "T" in these strings above indicates the beginning of the time element.
"Z" is a special GMT designation.
This information is only applicable for the latest version of the Data Loader
Prepare a CSV File for an Import or Update in Salesforce
Data Loader adds extra hours to 'date-time' fields in Salesforce - Helpful information for timezone issues
Date Formats and Date Literals
Why do date fields import incorrectly when I use the Data Loader?
Data Loader error converting value to correct data type
Insert, Update, or Delete Data Using Data Loader
Change default time zones for Users and the Organization
000385167

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.