Time and timestamp conversion
Opened this issue · 0 comments
roaldarbol commented
Following on from this conversation on zulip, I think it would be great to have methods to access both time (since start, in whichever unit, see #59).
The proposition is to:
- Encode
start_time
as a metadata field (needs to have #19 implemented in some form) start_time
can be either anumeric
/difftime
in which case it's the time since 0 that tracking should begin (enything before should beNA
) or adatetime
timestamp.- Have methods for converting between
difftime
(not the class, just time since start) andtimestamp
. - Ensure that further methods do not encounter issues with timestamps - such as
calculate_
functions