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
D.YounaiD.Younai 

For data input to the custom date field

Hi, Comunity!

 

I am trying to update the record using the SOAP API.
But when I put the dates in a custom date field, registered in the date one day prior.

 

Example)
I want to register the day: 2012/08/02
Days that are actually registered: 2012/08/01

 

I described the results of the trace.

java.util.GregorianCalendar[time=1343833200000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Tokyo",offset=32400000,dstSavings=0,useDaylight=false,transitions=10,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2012,MONTH=7,WEEK_OF_YEAR=31,WEEK_OF_MONTH=1,DAY_OF_MONTH=2,DAY_OF_YEAR=215,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OFFSET=32400000,DST_OFFSET=0

 

Please help me.

 

Regards,

Best Answer chosen by Admin (Salesforce Developers) 
Nimble TedNimble Ted

You might need to express the date in GMT, which is what Salesforce uses internally. 

 

 

All Answers

Nimble TedNimble Ted

You might need to express the date in GMT, which is what Salesforce uses internally. 

 

 

This was selected as the best answer
D.YounaiD.Younai

Sorry for the late reply.

 

Thank you for letting me know.
It it was a known issue with Dataloader.

I decided to finally date plus one day.

 

Thanks for your help on this.