20: Date methods in JavaScript - Learn JavaScript front-end programming

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • Date methods in JavaScript - Learn JavaScript front-end programming. In this video we will learn about date methods which allow for us to show and edit the current date inside our websites.
    List of date methods: www.w3schools.c...
    Lesson material: www.dropbox.co...
    --
    mmtuts is a RUclips channel that focuses on teaching beginner and advanced courses in various multimedia related skills.
    We plan to make tutorials available on programming, video production, animation, graphic design, and on software such as the Adobe Creative Cloud programs.
    JavaScript for beginners is a how to series that teaches the JavaScript coding language to people who are just starting out learning programming. The course teaches how JavaScript scripting can be made easy and teaches how to build many features on websites through behavior using JavaScript. Creating behavior on websites with JavaScript is easy and should not be seen as otherwise, which is why we want to explain the language in a easy to understand way for beginners.
    If you have suggestions on new courses, or specific lessons within existing courses you would like to see, then feel welcome to submit them in the comment section or in a private message. ALL suggestions will be seen, but not all will be replied to since we get quite a few every day.

Комментарии • 15

  • @lardosian
    @lardosian 7 лет назад +9

    Its a bit confusing to name your variable 'getDate'.

  • @cleariverstar3426
    @cleariverstar3426 6 лет назад +1

    Why is the date 4/0/2017 instead of 4/1/2017

    • @KenGaming
      @KenGaming 6 лет назад +3

      Because getMonth() method starts from 0 to 11 which means 0 is January.

    • @sougataghar1179
      @sougataghar1179 5 лет назад

      also you can just add +1 to the month , so you can get the actual month :DDD

  • @ryanvb3452
    @ryanvb3452 7 лет назад

    I suggest you follow the standard OOP convention for naming functions and variables. Quite often you give functions names which are appropriate for variables and vice-versa.

  • @vijethgames784
    @vijethgames784 7 лет назад

    can u please make tutorials on angularJS please

  • @chukwugeorge2351
    @chukwugeorge2351 7 лет назад

    Thank you so much your tutorial is very clear and simple

  • @frontluenddan7726
    @frontluenddan7726 6 лет назад

    You have great voice for teaching. But why you always spell document.getElementById like "documents.getElementsById"

    • @Dani_Krossing
      @Dani_Krossing  6 лет назад

      It's just a speach thing I don't notice as I am saying it :)

  • @akevinc
    @akevinc 6 лет назад

    Hello, just a small question (I hope it isn´t too dumb). Why does the date gets printed without calling the writing method?

    • @chronoshift1423
      @chronoshift1423 6 лет назад +1

      document.getElementById("...").innerHTML is the function that print the date to the website

    • @sougataghar1179
      @sougataghar1179 5 лет назад

      @@chronoshift1423 its not a function ,its a property

    • @sougataghar1179
      @sougataghar1179 5 лет назад

      you can also write .textcontent instead of innerhtml

    • @chronoshift1423
      @chronoshift1423 5 лет назад

      Sougata Ghar I dont remember saying this ?? This is weird

  • @АртемВолков-ю5ь
    @АртемВолков-ю5ь 7 лет назад

    cool