Last active
January 24, 2019 12:52
-
-
Save jclem/3c202925cd4e1cdca90b26c36c1e9573 to your computer and use it in GitHub Desktop.
This file contains 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
dateSubtract( | |
prop("Date"), | |
((toNumber(formatDate(prop("Date"), "d")) - 1) % 7 + 7) % 7, | |
"days" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment