Add date storage to the TTree

The year, month, day, hour, minute, and second of the log line are now
stored as integers in the TTree.