Message from discussion
.monday
Received: by 10.224.211.129 with SMTP id go1mr287042qab.5.1304024826062;
Thu, 28 Apr 2011 14:07:06 -0700 (PDT)
X-BeenThere: datejs@googlegroups.com
Received: by 10.224.172.87 with SMTP id k23ls388812qaz.4.gmail; Thu, 28 Apr
2011 14:07:04 -0700 (PDT)
Received: by 10.224.127.76 with SMTP id f12mr264638qas.11.1304024824685;
Thu, 28 Apr 2011 14:07:04 -0700 (PDT)
Received: by 10.224.183.200 with SMTP id ch8msqab;
Mon, 18 Apr 2011 11:24:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.49.149 with SMTP id v21mr586828qaf.26.1303151059829; Mon,
18 Apr 2011 11:24:19 -0700 (PDT)
Received: by y31g2000vbp.googlegroups.com with HTTP; Mon, 18 Apr 2011 11:24:19
-0700 (PDT)
Date: Mon, 18 Apr 2011 11:24:19 -0700 (PDT)
X-IP: 24.228.149.238
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:2.0)
Gecko/20100101 Firefox/4.0,gzip(gfe)
Message-ID: <57b1f39c-a8e7-452b-85e0-186d73623c89@y31g2000vbp.googlegroups.com>
Subject: .monday
From: manray <rickjo...@gmail.com>
To: Datejs - A JavaScript Date Library <datejs@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
I am trying to get the monday for the following week. This is my code
Date.today().monday().toString("MM d");
today is monday 4/18/2011 but when this code prints it says 4 25.