Skip to content

Instantly share code, notes, and snippets.

@andrewgross
Created January 7, 2016 20:34
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 andrewgross/4222a5cc2468975f3f82 to your computer and use it in GitHub Desktop.
Save andrewgross/4222a5cc2468975f3f82 to your computer and use it in GitHub Desktop.
one_hour_ago := time.Now().AddDate(0, 0, -1).Add(time.Hour * 23)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment