Explain the problem as you see it
It would be nice to be able to do some simple date and time calculations, in particular for durations.
Why is this a problem for you?
Let's say that I'm logging my work on a task by using cmd+k and either "Insert current time" or "Insert current date and time" to record the time I started on a task and the time I finished. It would be incredibly useful to be able to, at the end of the week, calculate the total amount of time I spent on those tasks, and also calculate the amount of time spent on those projects that the tasks were related to.
Suggest a solution
A conception of duration, as a system primitive, calculated automatically from any date field that contains a range (a start and end), and new System Start Date/Time and End Date/Time. Durations stored as seconds (or milliseconds) but displayed as human readable years, weeks, days, hours, minutes and seconds. The ability to sum these values like we already can for ordinary numbers.
1 Comment
i would really like to have durations without having them attached to specific dates and times... if i just wanted to have an estimate of how long a task might take, for example, or the length of a video or song or something. they could work very well with dates/ times, obviously, but i would also like to use them independently.
i really like the way that Dataview (a plugin for Obsidian.md) handles them.