How to compute and display a duration given two datetime strings? #1854
Unanswered
wealthychef1
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This is quite painful because of two reasons, you have the metadata in two separate list items which needs a bit of logic to extract correctly. Secondly, your timestamp format is non-standard so you need to do a bit of manipulation before you parse it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have this bit of markdown:
Is there a way to display the duration where$duration = completed - created$ inline using dataview?
As pseudocode, I'd like something like this:
=this.completed - this.created
But dataview does not know how to interpret my datetime strings.
I think this should be easy for a knowledgable person; can I get a little help?
:-)
Thank you
Beta Was this translation helpful? Give feedback.
All reactions