A guide on how to format a JavaScript date into a string in YYYYMMDD format.

Photo by Kelly Sikkema on Unsplash

Using Native JavaScript Date and String Methods

A guide on how to detect arrow key presses in JavaScript.

Photo by Paweł Czerwiński on Unsplash

Use the keyCode Property


Photo by Rachael Gorjestani on Unsplash

Extract the Parts of a Date and Put Them Together

John Au-Yeung

Web developer. Subscribe to my email list now at https://thewebdev.info/subscribe/. Email me at hohanga@gmail.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store