What is the best way to count time in days and minutes? For example say i want to add data to a hash table when i start mirc. Then when i resatrt mirc i want it to echo when the last time i started mirc in days and minutes format.

Code example

on *:start: {
hadd -m hashtable data
echo 4 -s You last opened mirc x days and z minutes ago.