Skip to content

Instantly share code, notes, and snippets.

@angelbotto
Created December 1, 2013 22:37
Show Gist options
  • Save angelbotto/7741787 to your computer and use it in GitHub Desktop.
Save angelbotto/7741787 to your computer and use it in GitHub Desktop.
Perfect for create charts..
date = Time.now
start_date = Time.new(date.year, date.month, 1)
end_date = start_date + 1.month
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment