Log all the things!
I’ve tried to keep a diary a couple of times, but the habit never stuck. A few months ago I realized that what I really wanted was something like a cross between a time log and a journal. It had to be digital and searchable, because the main reason for wanting it was to be able to answer questions like: How many days have I spent outside the USA in the last 5 years?