Basic date switching functionality

This is very brittle but this sends the document back and forth between
the date fields for yesterday and today.