Allow arguments: -c for csv, start and end dates.
Print dates with year first. Better punctuation.
Factor out some of the is-visible code.