Skip to content

Instantly share code, notes, and snippets.

@vegarsti
Last active December 8, 2017 14:02
Show Gist options
  • Save vegarsti/03e37f27db2411b6ab62a6a393f9478d to your computer and use it in GitHub Desktop.
Save vegarsti/03e37f27db2411b6ab62a6a393f9478d to your computer and use it in GitHub Desktop.
  • current_date - interval '1 days'*extract(isodow from now()) sunday before this week
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment