We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like the ability to date a Date value and format it as a string for table outputs.
Currently I am using something like so:
{ r with date: if v.myWindowPeriod == "1y" then string(v: date.year(t: experimental.subDuration(d: 1h, from: r._stop))) else if v.myWindowPeriod == "3mo" then string(v: date.year(t: experimental.subDuration(d: 1h, from: r._stop))) + " Q" + string(v: date.quarter(t: experimental.subDuration(d: 1h, from: r._stop))) else if v.myWindowPeriod == "1mo" then string(v: date.year(t: experimental.subDuration(d: 1h, from: r._stop))) + " M" + string(v: date.month(t: experimental.subDuration(d: 1h, from: r._stop))) else if v.myWindowPeriod == "1w" then string(v: date.year(t: experimental.subDuration(d: 1h, from: r._stop))) + " W" + string(v: date.week(t: experimental.subDuration(d: 1h, from: r._stop))) else "0" }
The text was updated successfully, but these errors were encountered:
This issue has had no recent activity and will be closed soon.
Sorry, something went wrong.
No branches or pull requests
I'd like the ability to date a Date value and format it as a string for table outputs.
Currently I am using something like so:
The text was updated successfully, but these errors were encountered: