When I select a date I see the correct date in the field but, when I save, the datepicker send the day before the date I have selected ( 3 hours offset ) i am using angular
You can modify your date format before sending to the server:
public saveYourDate(date: Date): Observable {
const formattedDate = date.toLocaleDateString();
return this.http.post(`${this.yourPathVariable}/date`, formattedDate);
}
In this case you don't specify the time so the date is being sent as a string in the format depending on locale conventions like this: '10/30/2020'.