Skip to main content Accessibility Feedback

← Back to the Vanilla JS Academy

Timestamp

The date one year, two months, three weeks and four days from now is:
.

This is powered by a library you’ll create that works like this:

let now = new Stamp();
let future = now.addYears().addMonths(2).addWeeks(3).addDays(4).getDateString();