View Full Version : Javascript date function

12-03-2012, 11:59 PM
Hi Helpful guys,

I have to achive following...

to check if month of a given date is -1 of current dates month. i e. its of previous month...

secondly if the current date is between 1st, 2nd, 3rd, 4th, 5th 6th or 7th of this month...

Old Pedant
12-04-2012, 12:28 AM
So is this homework?

If so, what have you tried so far?

Have you looked at places such as