Get beginning date and time
Get ending date and time
Construct header lines for file