create a YYYY-MM-DD Daterange in JScript/Javascript.

Posted by Marcus on Stack Overflow See other posts from Stack Overflow or by Marcus
Published on 2010-05-30T13:56:18Z Indexed on 2010/05/30 14:02 UTC
Read the original article Hit count: 579

Filed under:
|
|

Hello. I need no generate a full daterange in JScript from a given Startdate to now.

Startdate: 2010-03-25
2010-03-26
2010-03-27
...
2010-05-30

I am very confused with Javascript Date.

best would be a function to give a daterange as params and getting an Array of the formatted date back, something like that:

range[0] = 2010-03-25
range[1] = 2010-03-26
range[2] = 2010-03-27
    ...
range[x] = 2010-05-30

I am so confused thanks for any hint marcus

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about calculate