0

My date string is August 2015

I want to find start and end date of month August 2015 using moment.js

I tried as follows but not working,

moment(date).endOf('month').toDate()

How can I find the same?

Pankaj Parkar
  • 134,766
  • 23
  • 234
  • 299
gsk
  • 2,329
  • 8
  • 32
  • 56
  • 1
    What does "not working" mean? – zerkms Aug 16 '15 at 08:57
  • 1
    "Not working" is not a useful problem statement. Also, the code you've shown won't do *anything* -- you'd have to *use* the resulting object. And **please** search before posting. Looking at the duplicate that Pankaj linked, the most trivial search should have found that. – T.J. Crowder Aug 16 '15 at 08:57

0 Answers0