Durations & Lengths Of Time - Moment.js Tutorial #7

Share
dcode
Published at : 06 Jan 2022
4683 views
94

In this video I'll be covering the concept of durations in Moment.js, which are used to represent lengths of time - as opposed to "moments" which represent single points in time.

Support me on Patreon:
https://www.patreon.com/dcode - with enough funding I plan to develop a website of some sort with a new developer experience!

For your reference, check this out:
https://momentjs.com/docs/#/durations/

Follow me on Twitter @dcodeyt!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
codecodingprogramming

NCT 127 Favorite (Vampire) Lyrics (엔씨티 127 Favorite (Vampire) 가사) (Color Coded Lyrics)

NCT 127 Favorite (Vampire) Lyrics (엔씨티 127 Favorite (Vampire) 가사) (Color Coded Lyrics)

4 Nuclear reactors shut down...Major safety issues in France

4 Nuclear reactors shut down...Major safety issues in France

John Lennon ~ Imagine (Ελληνικοί υπότιτλοι)  -Greek subs-

John Lennon ~ Imagine (Ελληνικοί υπότιτλοι) -Greek subs-

uncertainty and amount of info (shannon entropy)

uncertainty and amount of info (shannon entropy)

A Brit in the Japanese Army | Japanese Empire, Imperial Japan Army, Manchukuo, Japanese Manchuria

A Brit in the Japanese Army | Japanese Empire, Imperial Japan Army, Manchukuo, Japanese Manchuria

$360K Volvo VNL Expedite Truck with Kitchen and Bathroom Sleeper by Bolt Custom Trucks

$360K Volvo VNL Expedite Truck with Kitchen and Bathroom Sleeper by Bolt Custom Trucks

The Best

The Best

Using the work of a component auditor | CPA Exam

Using the work of a component auditor | CPA Exam

James O'Brien - The Whole Show : Upset over the destroyed statue of a mass murderer | PART 1

James O'Brien - The Whole Show : Upset over the destroyed statue of a mass murderer | PART 1

NiziU「Take a picture」第63回 輝く!日本レコード大賞 2021年12月30日

NiziU「Take a picture」第63回 輝く!日本レコード大賞 2021年12月30日

The sun disappeared suddenly! A severe storm hits Athens, Greece

The sun disappeared suddenly! A severe storm hits Athens, Greece

The REASON why Pudge is Too OVERPOWERED | Sorry POOR Guy Monkey King | Pudge Official

The REASON why Pudge is Too OVERPOWERED | Sorry POOR Guy Monkey King | Pudge Official

Cadbury's Creme Egg   Here Today, Goo Tomorrow (2008, UK) Effects [Inspired by NEIN Csupo Effects]

Cadbury's Creme Egg Here Today, Goo Tomorrow (2008, UK) Effects [Inspired by NEIN Csupo Effects]

RICH UNPOPULAR VS BROKE POPULAR GIRL IN THE SCHOOL || Types Of Students by 123GO! SCHOOL

RICH UNPOPULAR VS BROKE POPULAR GIRL IN THE SCHOOL || Types Of Students by 123GO! SCHOOL

Surf Rider

Surf Rider

Shawn Mendes - Ruin

Shawn Mendes - Ruin

LEO - I Need To Warn You About This Person You Might Want To Know This..👀 MID-DECEMBER 2021

LEO - I Need To Warn You About This Person You Might Want To Know This..👀 MID-DECEMBER 2021

This Different Wrist Move Will Perfect Your Takeaway

This Different Wrist Move Will Perfect Your Takeaway

WORLD'S MOST EXPENSIVE CLOCK COLLECTION ($$$ MILLIONS!!)

WORLD'S MOST EXPENSIVE CLOCK COLLECTION ($$$ MILLIONS!!)

HARD EAR WAX PLUGS - EP535

HARD EAR WAX PLUGS - EP535

Playing SQUID GAME in REAL LIFE (Part 2)

Playing SQUID GAME in REAL LIFE (Part 2)

CAPSULE - In The Rain (2021 Remaster)[Visualizer]

CAPSULE - In The Rain (2021 Remaster)[Visualizer]

The Largest Ponzi Schemes in History

The Largest Ponzi Schemes in History

Every Customer Interstitial - Superstore (Mashup)

Every Customer Interstitial - Superstore (Mashup)

White Noise Waves

White Noise Waves

6 Signs You've Given Up On Love Unintentionally

6 Signs You've Given Up On Love Unintentionally

ASSURE FOR LIFE - $50,000 Challenge - Where Are The Testimonials?

ASSURE FOR LIFE - $50,000 Challenge - Where Are The Testimonials?

Bringing Larger California Gold Topdressing into this Succulent Garden to Deal with Runoff

Bringing Larger California Gold Topdressing into this Succulent Garden to Deal with Runoff

Truth Tv

Truth Tv

Aquarius - Repeating A Past Success For A Future Win!

Aquarius - Repeating A Past Success For A Future Win!

Time To Move

Time To Move

DRAGON BALL FIGHTERZ WORLD CHAMPIONSHIP: REGIONAL FINALS EUROPE

DRAGON BALL FIGHTERZ WORLD CHAMPIONSHIP: REGIONAL FINALS EUROPE

Shark Tank Best Pitch Ever - Hoodie Backpack by Quikflip Apparel w/ Rener Gracie (Part 1/5)

Shark Tank Best Pitch Ever - Hoodie Backpack by Quikflip Apparel w/ Rener Gracie (Part 1/5)

Gamer Rage

Gamer Rage

JAGEX HAD TO PATCH THE EASTER EGG BECAUSE OF THIS - OSRS BEST HIGHLIGHTS - FUNNY & WTF MOMENTS | 130

JAGEX HAD TO PATCH THE EASTER EGG BECAUSE OF THIS - OSRS BEST HIGHLIGHTS - FUNNY & WTF MOMENTS | 130

‘Halo Infinite’ Multiplayer Is Great Except For One Glaring Problem | Erik Kain | Forbes

‘Halo Infinite’ Multiplayer Is Great Except For One Glaring Problem | Erik Kain | Forbes

Μετεγγραφές φοιτητών 2021 | Ταουσάνης Χρήστος | TV100

Μετεγγραφές φοιτητών 2021 | Ταουσάνης Χρήστος | TV100

Don't Starve Together: The Incredible Strongman [Wolfgang Animated Short]

Don't Starve Together: The Incredible Strongman [Wolfgang Animated Short]

Instant Sleep Relief - Dream Music, Sleep Music, Endorphin Release Relaxing Meditation

Instant Sleep Relief - Dream Music, Sleep Music, Endorphin Release Relaxing Meditation

GarrusxShep But Something is Terribly Wrong

GarrusxShep But Something is Terribly Wrong

The subjects meet the UwU cat and the edgy boy

The subjects meet the UwU cat and the edgy boy

tour and enjoyment

tour and enjoyment

#197 Cute and versatile DIY Volt, Ampere, Power, efficiency and Capacity Meters

#197 Cute and versatile DIY Volt, Ampere, Power, efficiency and Capacity Meters

English Lesson 14 - They're big. Adjectives. Phonics TH sound.

English Lesson 14 - They're big. Adjectives. Phonics TH sound.

How to Make Vibrant, Healthy, Beet Risotto

How to Make Vibrant, Healthy, Beet Risotto

'Providing' More Assistance With Prepositions

'Providing' More Assistance With Prepositions

Billie Eilish - Watch (Lyrics) "If we were meant to be we would have been by now" [TikTok Song]

Billie Eilish - Watch (Lyrics) "If we were meant to be we would have been by now" [TikTok Song]

PREVISÕES INFALÍVEIS PARA 2022! (Com Mestre Xu Tinussaco)

PREVISÕES INFALÍVEIS PARA 2022! (Com Mestre Xu Tinussaco)

2021's Dramatic Finale | Jolyon Palmer's F1 TV Analysis | 2021 Abu Dhabi Grand Prix

2021's Dramatic Finale | Jolyon Palmer's F1 TV Analysis | 2021 Abu Dhabi Grand Prix