lf-araujo If you only want the latest eopkg operation, you can use eopkg hs -l 1
(or eopkg history --last 1
to spell it out).
If you only want the line with the date, you can then use e.g. grep
eopkg hs -l 1 | grep Date
Date: 2024-12-12 23:42
Of course this will not distinguish between repository updates and actual package upgrades. If you only want the latter, I guess you could do something like the following to take the last, say, 10 history entries (in case you do a lot of repository updating or package installations), and take the latest one that is an "upgrade"
eopkg hs -l 10 | grep ": upgrade" -A 1 | head -n 2 | grep "Date"
Date: 2024-12-12 23:42