Skip to content

Instantly share code, notes, and snippets.

Avatar

Wilson Lima Wilson-l-Silva

View GitHub Profile
View Add-dias-data-moment.js
let data = moment($(this).val()).add(10, 'days').toDate();
$('#data-final').val(moment(data).format("YYYY-MM-DD"));