function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
amine7amine7 

Use European date format in command line

Hello everybody,

 

is the "Use European date format" option available in the GUI version of the data loader also available in the command line version?

 

thanks in advance !

 

Best Answer chosen by Admin (Salesforce Developers) 
amine7amine7

here is the solution <entry key="process.useEuropeanDates" value="true"/>  but  you'll have a  "minus one day" problem  in all date fields...

All Answers

amine7amine7

here is the solution <entry key="process.useEuropeanDates" value="true"/>  but  you'll have a  "minus one day" problem  in all date fields...

This was selected as the best answer
PrashantBhardwajPrashantBhardwaj
I have a custom object to import records in which I have two fields. one is Date type and another is DateTime type. for Date type field I am using dd/mm/yyyy format. So I added useEuropean format as true. In that case I am getting "minus one day" problem in date, but date time field is getting correct value. When I add timezone as GMT I found date is populating correct but now in datetime field time is getting -5:30 hrs.
I have also tried to change in system's locale time zone change as GMT/UTC but there is no impact on time.
Please let me know what are the changes required.