I created a small (3k) date library that extends the native javascript date object. This is much smaller versus moment.js and — if you consider the plugins you would need to accomplish this in day.js — smaller versus day.js.
You can play with the code on stackblitz.