modiifed setup_frame to incorporate separate date clauclations for elapsed time and remaining time and evaluted how to deal with dates generally.