Updated Examples and Recipes (markdown)

Emile Cormier
2015-07-30 16:03:50 -03:00
parent b78c13b23f
commit 26dd1a64d3

@@ -13,7 +13,8 @@ using namespace std::chrono;
using namespace date; using namespace date;
// Component values (as obtained from an UI form, for example) // Component values (as obtained from an UI form, for example)
int y=2015, m=7, d=30, h=12, min=34, s=56; int y=2015, m=7, d=30, h=12, min=34, s=56;
system_clock::time_point = day_point(year(y)/m/d) + hours(h) + minutes(min) + seconds(s); system_clock::time_point = day_point(year(y)/m/d) +
hours(h) + minutes(min) + seconds(s);
``` ```
<a name="components_to_time_point"> <a name="components_to_time_point">