Hi,
This error is due to old PHP version, I supposed I can add validation before plugin activation.
Do you have option to upgrade your PHP installation? Else, I will need to find a workaround to calculate the date differences, which might be slightly less accurate than the existing method.