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)