In clickstream data you should have the field last_hit_time_gmt, this is the timestamp of the prior hit...
So on the first hit in a session (visit_page_num), you should be able to take this, and the timestamp of that hit to calculate the number of Days since the last visit.