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
Refer to the link here. The easier way is to try below
var d = new Date('yourDate'); d.setMinutes( d.getMinutes() + d.getTimezoneOffset() );
d should be the correct date now.
d