Skip to content

Instantly share code, notes, and snippets.

@delonnewman
Created February 22, 2022 01:21
Show Gist options
  • Save delonnewman/6ab840fc24a4518e78495656c811252f to your computer and use it in GitHub Desktop.
Save delonnewman/6ab840fc24a4518e78495656c811252f to your computer and use it in GitHub Desktop.
Round to the Nearest 15 minute
Math.round(minutes / 15) * 15
@KateSohl
Copy link

@delonnewman nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment