Forum Moderators: open
A more reliable way would be to get the user to log in, and record the time of their visit (in a database for example) and use a scripting language such as ASP, PHP or similar to do the work. If you have access to those you could easily do such tricks.