bb_plot_ca has some date issues

The database changed date formats and am trying to update the bb and pim
functions.