In this post, we will see how to resolve C++20 <chrono>: How to calculate difference between year_month_date? Question: Using C++20’s <chrono>, how can I find the days difference of two year_month_day objects? Best Answer: You can use std::chrono::sys_days to convert ...