Function TIMER : LongInt
As such, may I assume the timer value rolls over from 86399 to 0 at midnight? If so, doesn't the delta between two readings require
modulation in order to accommodate successive readings across this boundary?
Yes both Timer and TimerMin would roll over at midnight and probably aren't all that useful for timing despite their function names lol.
If you want to count seconds independant of a midnight rollover, you can use the "DateUnix" function which returns the number of seconds since
Jan 1, 1970 and has no rollover.
Thanks g00r00, very much appreciated.
As a quick aside, are you able to clarify as to how the client IP may be accessed via MPL?
Oh I am sorry I do remember someone (probably you) asking that and I
must have forgot to answer. That happens sometimes so if/when it does just reask me again! ;)
Probably the easiest way is to get it from the MCI codes using mci2str. The UY code returns the users IP address field and the UX returns their hostname.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,030 |
Nodes: | 17 (0 / 17) |
Uptime: | 51:06:32 |
Calls: | 502,072 |
Calls today: | 19 |
Files: | 104,434 |
U/L today: |
1 files (6K bytes) |
D/L today: |
4,611 files (885M bytes) |
Messages: | 298,363 |
Posted today: | 1 |