I have been using Chat GPT since February for about once a week. I cannot get it to spit out a program that displays study hours by year.
Is it possible to see how long I studied in 2022?
Should be possible.
time_intervals = mw.col.db.list("select time from revlog where id >=? and id < ?", start_time, end_time)
select the bounds (in milliseconds), then sum the results.