Skip to content

Instantly share code, notes, and snippets.

@endersonmenezes
Last active January 17, 2020 20:41
Show Gist options
  • Save endersonmenezes/d3eb3ca0ada0db8007cd0062c43f136e to your computer and use it in GitHub Desktop.
Save endersonmenezes/d3eb3ca0ada0db8007cd0062c43f136e to your computer and use it in GitHub Desktop.
This code makes you enter a date range, it will divide that range into 12 sections, checking if a target is in those 12 sections and what the index of that section is.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment