Move the time formatting into it's own utility function for usage later...