Working with Javascript Dates for Beginners

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 35

  • @waffle8364
    @waffle8364 Рік тому +7

    The one thing I wish tutorials made by programmers is to also show testing. It's the most important aspect of coding. Our team always says "the code is broken if there's no test coverage" even if the code appears to work.

    • @ieatwebsites
      @ieatwebsites  Рік тому +2

      I agree! I was thinking on recording one using Jest and I will. Thank you for motivating me!

  • @freshpootube
    @freshpootube 4 роки тому +1

    Trying to find at least ONE UA-camr who understands how to populate a calendar / date picker using the date function and vanilla javascript. Please point me to one if you're aware.

    • @ieatwebsites
      @ieatwebsites  4 роки тому

      Are you willing to use a library?

    • @freshpootube
      @freshpootube 4 роки тому

      @@ieatwebsites Thanks for responding. I just want to build it without using jquery. Can't find a single UA-camr coder that makes things from scratch. Even my developer friends don't know of anyone.

  • @moesaqib8349
    @moesaqib8349 3 роки тому +2

    Thank you my man.
    Much appreciated.

  • @RafaelSales55
    @RafaelSales55 3 роки тому +3

    thank you !! I'm beginner at javascript, can I use the method without api, like "1 january 2021" as a string like "[data.day],[months[month]],[data.year]"?

    • @ieatwebsites
      @ieatwebsites  3 роки тому +1

      Yes you can. But you need to create your own functions. If you are a beginner, maybe a library like moment.js helps a lot. I have a video tutorial about it.

  • @theintrovert894
    @theintrovert894 3 роки тому +1

    love.from THE INDIA..............❤️

  • @brevinpalmes3742
    @brevinpalmes3742 3 роки тому +1

    Thanks a lot, this really helped me

  • @computer_writer6471
    @computer_writer6471 2 роки тому +4

    Thanks for the video and the time spent in explaining this. I have a doubt, is it possible to execute a function in JS within a certain time interval, for example, from one date to another that displays something, if it is not in that date range it does not display?

  • @maxm745
    @maxm745 3 роки тому +3

    Really great tutorial, and I always got semantic satiation with the word month. It has lost meaning lol

  • @awaterplease7885
    @awaterplease7885 5 років тому

    Nice short tutorial! Thx :)

  • @summaiyakhan8184
    @summaiyakhan8184 Рік тому

    dude i want a code like i wanna show my code at specific date like for example todays is 3 july but i wanna show only my code 28 july thats should be automatic may i?

  • @Bagiragaming78
    @Bagiragaming78 Рік тому

    How to loop date with year like age calculator

  • @thecousins7075
    @thecousins7075 5 років тому +1

    ty dude :) keep it,u awesome :)

  • @soohongkim66
    @soohongkim66 3 роки тому +2

    thanks !!

  • @muhammadsharique8037
    @muhammadsharique8037 3 роки тому

    dob in not greater than 01/01/-2010 java script hhelp me or give a code

  • @nrkv
    @nrkv 4 роки тому +1

    Thank You!

  • @rahimrahim2720
    @rahimrahim2720 Рік тому

    Thank u

  • @immikegt
    @immikegt 11 місяців тому

    Thanks for the video … but I was far from easy to understand… you don’t explain UTC , GtM and Local etc.

  • @salvab13
    @salvab13 2 роки тому

    ty

  • @zoltanrakottyai
    @zoltanrakottyai 3 роки тому

    not an ideal tutorial for beginners containing data fetching, json etc.

    • @ieatwebsites
      @ieatwebsites  3 роки тому +3

      I'm showing the basics at the beginning and a real world example with real data. Is the best way to learn.

    • @Just_Clair
      @Just_Clair 2 місяці тому

      I am a JS beginner and I loved that additional real world example as well. How to use APIs and fetch/use data from it, is certainly a plus.