Automatic time tracker