title: Javascript : How can i change the date numbers....?
body: <p>So sunday starts with the number 0, but i need to get sunday to 6. so it will look like this : </p>
  
  <p>Monday - 0 
  Thuesday - 1 
  wednesday - 2
  thursday - 3 
  friday - 4
  saturday - 5 
  sunday - 6</p>
  
  <p>But the problem is i dont know how, only thing that worked is making it an array but that is not the assignment.. </p>
  
  <p>Anyone knows what to do? </p>
  
  <p>thanks&lt;3 </p>