I was thinking about encapsulating the strftime into the calc_serial function.