Created
June 18, 2025 20:40
-
-
Save sanan-fataliyev/fabffd209b05a3cfe27cc85d66353c68 to your computer and use it in GitHub Desktop.
ISO 8601 year and week in sqlite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT strftime('%Y-W%V', current_timestamp, '-3 days', 'weekday 4') as period; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment