Marcus is a fullstack JS developer. He’s passionate about the hapi framework for Node.js and loves to build web apps and APIs. Creator of Futureflix and the “learn hapi” learning path.

Get Yesterday's Date in JavaScript or Node.js

Sometimes it’s helpful to translate dates into labels in your web application. For example, the human brain perceives the label „yesterday“ easier than translating the string of yesterday’s date to „yesterday“. This tutorial shows you how to calculate yesterday’s date in JavaScript. {{outline}} How Do You Get …

Continue Reading
Page 1 of 53

Explore the Library

Find interesting tutorials and solutions for your problems.