From 5aebe1b7907854ea65e5c3f11d75149ef1030f99 Mon Sep 17 00:00:00 2001 From: Tai Meng Date: Thu, 17 Nov 2016 10:35:20 -0800 Subject: [PATCH] Updated Examples and Recipes (markdown) --- Examples-and-Recipes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Examples-and-Recipes.md b/Examples-and-Recipes.md index dec4c6a..990beed 100644 --- a/Examples-and-Recipes.md +++ b/Examples-and-Recipes.md @@ -336,6 +336,8 @@ to_time_point(components, tp); ### Obtaining `y/m/d h:m:s` components from a `time_point` (by [ecorm](https://github.com/ecorm)) +The first recipe below is based on an example from [Howard Hinnant](https://github.com/HowardHinnant)'s [CppCon 2015 slides](http://schd.ws/hosted_files/cppcon2015/43/hinnant_dates.pdf) on the date library. + ```c++ using namespace date; auto time = std::chrono::system_clock::now();