• Wednesday , 16 October 2019

Simple Date Formatting with Vanilla JavaScript

Code Canyon



There are now ways to format dates in JavaScript without using a library like moment.js. In this tutorial we will look at toLocaleString and how to specify date and time formats.

Would you like to help keep this channel going?
https://www.patreon.com/allthingsjavascript

Access to EVERY course (get 2 months free): https://www.skillshare.com/r/profile/Steven-Hancock/24508

Courses offered on Udemy at a discount:

Getting Started: https://www.udemy.com/learn-modern-javascript-getting-started/?couponCode=GETTINGSTARTED2019

Advanced Topics: https://www.udemy.com/learn-modern-javascript-advanced-topics/?couponCode=ADVANCED2019

Mastering Regular Expressions in JavaScript:
https://www.udemy.com/mastering-regular-expressions-in-javascript/?couponCode=YOUTUBE

Functional Programming in JavaScript: https://www.udemy.com/functional-programming-in-javascript-a-practical-guide/?couponCode=YOUTUBE19

NEW Mastering JavaScript Arrays: https://www.udemy.com/course/mastering-javascript-arrays/?couponCode=YOUTUBE19

Tutorials referred to in this video:
Formatting time: https://youtu.be/j8katkbMVhs

For more resources on JavaScript:
http://www.allthingsjavascript.com

#javascript #AllThingsJavaScriptLLC

Original source

3d Ocean

Related Posts

6 Comments

  1. Benjamin Vincent
    September 16, 2019 at 04:46

    I was looking for that right now I thought you might have a old video about it but I found that recent video that I somehow missed I think the format I need for my project is toISOString() I cannot understand how it works under the hood I inputted many different formats 14-09-2019 or 14/09/2019 or 14.09.2019 or 14 September 2019 etc (or something similar to that)

  2. john mwansa
    September 16, 2019 at 04:46

    can you make a video how to change numbers in any mobile ios and andraiod

  3. Rinkesh Gokulchandani
    September 16, 2019 at 04:46

    Thanks for this video.

  4. Arturo Guillén
    September 16, 2019 at 04:46

    This is an amazing video! Thank you!

  5. Marvelous Walrus
    September 16, 2019 at 04:46

    Brilliant! Thanks!

  6. carlos fernandez
    September 16, 2019 at 04:46

    Thank you Sirđź‘Ś

Leave A Comment

You must be logged in to post a comment.