make apsimr a little more efficient
use lubridate to make dates manageable