Announcements
I have two date time fields in two different entities.
Entity A date time field behavior is date only
Entity B Date time field behavior is user local
When i am setting the field value from entity a to entity b, it is showing 1 day less, because of user local.
I cannot change the field behavior of entity B, because of some production issues.
How can i set the value of Entity B Date time with exact date from Entity A date time field? (using javascript)
_this.fld_vehicle.retrieveEntity().then(function (vehicleData) {
if (Helper.isNotNull(vehicleData)) {
_this.fld_warrantystartdate.value = new Date(vehicleData["gcct_warrantystartdate"]);
}
});
this how i am setting the value, it is showing one day less in entity b. how can i fix this issue.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156