Issue with dates passed from Lead object to Activity object using groovy
Summary:
When creating a Lead, an Activity record is generated automatically through Object Workflow.
I'm using two dates from the Lead to set Activity's Start and End dates, but when the Activity is created the dates are different for exactly "1 day"
I'm using a custom date "dInicio_c" and the standard date "ExpirationDate" fields to setup ActivityStartDate and ActivityEndDate.
For instance:
dInicio_c = 09/01/2022 when the activity is created --> ActivityStartDate = 08/31/2022
ExpirationDate = 10/31/2022 when the activity is created --> ActivityEndDate = 10/30/2022
The Timezone setting on user properties/regional is (UTC-04:00 Santiago)
Content (required):
Version (include the version you are using, if applicable):
Oracle Cloud Application 22A (11.13.22.01.0)