diff --git a/Examples-and-Recipes.md b/Examples-and-Recipes.md index 3f45cea..88b40b6 100644 --- a/Examples-and-Recipes.md +++ b/Examples-and-Recipes.md @@ -25,6 +25,7 @@ system_clock::time_point = day_point(ymd) + ```c++ using namespace date; +auto time = std::chrono::system_clock::now(); auto daypoint = floor(time); auto ymd = year_month_day(daypoint); // calendar date auto tod = make_time(time - daypoint); // Yields time_of_day type