At least selenium might work.
Filling in both entries in the form with yesterday's date