in reply to help with time stamp

A guess would be to look at the Date::Calc modules, or to leave localtime alone (its an integer (I believe) in seconds from 1/1/1970) and just do the math from the number, w/o worrying about making it sec/min/hour/day/year.

a