Is it possible to add a timestamp when a metadata is changing?

For example, I have a key with these values: to do, doing, done. Every time I change the value, I want it to it automatically add a metadata with the current date as the value. For example, if I change from to do to doing, then the metadata will be:

time:
 doing: 2022-03-21

If I change from doing to done, it will be:

time:
 doing: 2022-03-21
 done: 2022-03-22

Is it possible?

You can def do this with the MetaEdit API.

I did something similar and explained it in this post, hope this might help you out :slight_smile:

What I did is basically add a :white_check_mark: emoji to my frontmatter habits to finish them off in my daily notes using a button (buttons plugin)

Because I want it clean and automatically with buttons since you can create them anywhere, there’s quite a lot to it.

You can check it out here:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Is it possible to have the fields in inline syntax?