The Date Object - Getting, Setting & Formatting Dates in JavaScript - Tutorial For Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2024

ความคิดเห็น • 44

  • @mrv3173
    @mrv3173 3 ปีที่แล้ว +3

    Great Tutorial bro! Keep it up.
    Also to those who is looking for the mm/dd/yyyy 00:00 format you can skip to 15:50

  • @jamesmassa1999
    @jamesmassa1999 4 ปีที่แล้ว +7

    Thanks again Dom! I'm constantly using your videos for reference; you're a one-man stack overflow! Please keep up the great work!

  • @JustSomeRandomIdiot
    @JustSomeRandomIdiot 2 ปีที่แล้ว +2

    Perfect, thanks mate. Date object is always one of those things I've used but never sat down and studied the workings of because it was low on the priority list. Good to finally understand it a bit better.

  • @jamesnahtaniel6196
    @jamesnahtaniel6196 ปีที่แล้ว

    Best video I come across so far on this topic

  • @invisibleboi5166
    @invisibleboi5166 4 ปีที่แล้ว +2

    I've always had a little trouble with Date, but now I understand everything. Great tutorial!

  • @azorawarsingh8391
    @azorawarsingh8391 4 ปีที่แล้ว +1

    thank you man, You literally gave me the answer for my assignment in my college, and also made me understand how the date system works in js

  • @8koi139
    @8koi139 2 ปีที่แล้ว

    pretty good introduction, wasn't able to find what I was looking for, but now I know whay I'm doing! tnx

  • @jhonny95501
    @jhonny95501 4 ปีที่แล้ว +3

    A lot of thanks! You said exactly what I thought: "Date object is more than enough"!

  • @0dyss3us51
    @0dyss3us51 5 ปีที่แล้ว +1

    Would love to see you doing something cool with it visually as well, this was a great help!

    • @dcode-software
      @dcode-software  5 ปีที่แล้ว

      Yeah I got a few mini projects coming up mate!

    • @0dyss3us51
      @0dyss3us51 5 ปีที่แล้ว

      @@dcode-software sounds good, tganks for letting me know I will stay tuned!

  • @ninjaduck3534
    @ninjaduck3534 3 ปีที่แล้ว

    Covered exactly the right aspects of all this, thank you!

  • @CodingAfterThirty
    @CodingAfterThirty 4 ปีที่แล้ว +1

    Great video and straight to the point. Thank you.

  • @m12652
    @m12652 4 ปีที่แล้ว +5

    Thanks matey, great tutorial... I’d be real interested to know the justification behind zero basing the month and not the day etc. Must have been a committee decision ;o)

    • @dcode-software
      @dcode-software  4 ปีที่แล้ว

      No worries matey and yeah look it might just be since arrays start at 0

  • @apocalypticbean
    @apocalypticbean 2 ปีที่แล้ว

    Thanks for sharing

  • @simonmonce778
    @simonmonce778 3 ปีที่แล้ว

    Thank you for this video!

  • @zeekzaak350
    @zeekzaak350 3 ปีที่แล้ว

    this was perfert. thanks my brotha

  • @anurajms
    @anurajms 2 ปีที่แล้ว

    thank you

  • @suryapratap9915
    @suryapratap9915 2 ปีที่แล้ว +1

    new Date("some-random-string-09") returns Sat Sep 01 2001 00:00:00 GMT+0530 instead of invalid date. but if I do "new Date("some-random-string") " it returns Invalid date. Is there a way to validate a string whether it is a valid date string or not ?

  • @JzfDavid
    @JzfDavid 5 ปีที่แล้ว +1

    Awesome. Thanks 👍

  • @glowyboo
    @glowyboo 3 ปีที่แล้ว

    Thank you!!

  • @wiktorliszkiewicz354
    @wiktorliszkiewicz354 3 ปีที่แล้ว

    You sound a little bit like Ozyman XD . Ps. Good nice tutorial ;>

  • @mayanksharma7513
    @mayanksharma7513 2 ปีที่แล้ว

    4:20 reading dates from databases

  • @saltech2024
    @saltech2024 2 ปีที่แล้ว

    This is cool
    But I'm looking for a one that will append a date after a post eg.
    Article 3.5 posted 18 hours ago or
    posted 3 years ago

  • @abaundwal
    @abaundwal 4 ปีที่แล้ว +1

    Which theme?

  • @andrewporter5790
    @andrewporter5790 4 ปีที่แล้ว

    I literally just want someone to show me how to get the date to update in real time WITHOUT the time stamp that is all. I can't find out how anywhere.

  • @emacipadung4104
    @emacipadung4104 3 ปีที่แล้ว +1

    Iam indonesia

  • @kujtimgjokaj659
    @kujtimgjokaj659 2 ปีที่แล้ว

    How can I show today's real date without time there, it's annoying me

  • @atakhanovcoder139
    @atakhanovcoder139 2 ปีที่แล้ว

    where are you from

  • @rsk-gold0012
    @rsk-gold0012 4 ปีที่แล้ว

    Huf

  • @AstroSardaukar
    @AstroSardaukar 2 ปีที่แล้ว

    You are wrong. It says (Eastern European Summer Time).
    Just kidding...

  • @danisantos343
    @danisantos343 2 ปีที่แล้ว

    Que escrotidão