Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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