0

How should i do to get the current week number in javascript. Here are some ways i've tried:

var week = new Date().week;
var week = new Date("W");

Thank for your help.

2
  • There is no such function. What do you want the week to be relative to? Commented Feb 19, 2013 at 18:01
  • What do you mean by relative? Commented Feb 19, 2013 at 18:03

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.