Skip to content

Instantly share code, notes, and snippets.

@isaacsanders
Forked from mdarby/gist:1534381
Created December 29, 2011 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacsanders/1534459 to your computer and use it in GitHub Desktop.
Save isaacsanders/1534459 to your computer and use it in GitHub Desktop.
startOfMonth: (date) ->
startOfMonth = date.beginningOfMonth()
console.log startOfMonth.format('{MM}-{DD}-{YYYY}')
endOfMonth: (date) ->
endOfMonth = date.endOfMonth()
console.log endOfMonth.format('{MM}-{DD}-{YYYY}')
# Maybe this?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment