lars Posted April 15, 2020 Share Posted April 15, 2020 Hi I use w3schools a lot, but I found a mistake. I was using this webpage: https://www.w3schools.com/jsref/jsref_obj_date.asp and I noticed that there was a mistake in the discription of the getDay() method (see screenshot). But when I uses it it's a value from 1 to 7. I post this, because I want to help others and the w3schools platform. Link to comment Share on other sites More sharing options...
Ingolme Posted April 15, 2020 Share Posted April 15, 2020 W3Schools is correct and this is corroborated by MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDay On which day of the week are you getting a 7? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now