with mIRC no there isn't any real way to tell, unless you always have mIRC open, and as soon as your connect online, you get onto an irc server then you could just be using $uptime(server,2) as a rough estimate (doesn't help much if you are on a static connection and conected for 6-25 days at a time) i know windows keeps a track of it, not sure where, ill look around, and find the dll + dll call for it