today is tomorrow's past

today is tomorrow's past

I help people create remarkable things. Focus on the customer and quality. Opinions are my own. Photography is my other passion.

1-Minute Read

Enable extensions for dayjs I was working on a small project to sharpen my Javascript and Typescript skills. Nothing fancy. The project deals with data calculations, and I was looking for a modern replacement of momentjs. I found dayjs, which seemed to be a suitable replacement. As I mentioned, I had to find the number of days between the two dates. The documentation of dayjs mentioned a method to calculate the difference between two dates as duration.

Recent Posts

Categories

About

Always something to think about